Skip to main content

QuickSendMsg

Trait QuickSendMsg 

Source
pub trait QuickSendMsg<T: APISender + Sync + Send> {
    // Required method
    fn send_msg<'life0, 'life1, 'async_trait>(
        &'life0 self,
        api: &'life1 T,
        msg: Vec<SendSegment>,
        auto_escape: Option<bool>,
    ) -> Pin<Box<dyn Future<Output = APIResult<i32>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn send_msg<'life0, 'life1, 'async_trait>( &'life0 self, api: &'life1 T, msg: Vec<SendSegment>, auto_escape: Option<bool>, ) -> Pin<Box<dyn Future<Output = APIResult<i32>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§