[−][src]Trait cometd::client::Handler
Provided methods
#[must_use]fn on_error<'life0, 'async_trait>(
&'life0 self,
_ctx: Context,
_error: CometError
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
_ctx: Context,
_error: CometError
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn on_reconnect<'life0, 'async_trait>(
&'life0 self,
_ctx: Context
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
_ctx: Context
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn on_message<'life0, 'async_trait>(
&'life0 self,
_ctx: Context,
_packet: Packet
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
_ctx: Context,
_packet: Packet
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,