hopr_lib

Trait SendMsg

Source
pub trait SendMsg {
    // Required method
    fn send_message<'life0, 'async_trait>(
        &'life0 self,
        data: ApplicationData,
        destination: PeerId,
        options: RoutingOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), TransportSessionError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

Source

fn send_message<'life0, 'async_trait>( &'life0 self, data: ApplicationData, destination: PeerId, options: RoutingOptions, ) -> Pin<Box<dyn Future<Output = Result<(), TransportSessionError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§