Trait OutgoingHandler
Source pub trait OutgoingHandler {
// Required methods
fn send_challenge<'a, 'b, 'async_trait>(
&'a self,
challenge_msg: &'b str,
) -> Pin<Box<dyn Future<Output = Result<OutgoingMessageTypes, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'b: 'async_trait + 'a;
fn send_notice<'life0, 'async_trait>(
&'life0 self,
notice_msg: String,
) -> Pin<Box<dyn Future<Output = Result<OutgoingMessageTypes, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_eose<'life0, 'async_trait>(
&'life0 self,
subscription_id: SubscriptionId,
) -> Pin<Box<dyn Future<Output = Result<OutgoingMessageTypes, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}