Trait discord_sdk::wheel::OnError [−][src]
pub trait OnError: Send + Sync {
fn on_error<'life0, 'async_trait>(
&'life0 self,
_error: Error
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
}