Trait serenity::gateway::WebSocketGatewayClientExt[][src]

pub trait WebSocketGatewayClientExt {
    fn send_chunk_guild<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        guild_id: GuildId,
        shard_info: &'life1 [u64; 2],
        limit: Option<u16>,
        filter: ChunkGuildFilter,
        nonce: Option<&'life2 str>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn send_heartbeat<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        shard_info: &'life1 [u64; 2],
        seq: Option<u64>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
fn send_identify<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        shard_info: &'life1 [u64; 2],
        token: &'life2 str,
        intents: GatewayIntents
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn send_presence_update<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        shard_info: &'life1 [u64; 2],
        current_presence: &'life2 CurrentPresence
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn send_resume<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 mut self,
        shard_info: &'life1 [u64; 2],
        session_id: &'life2 str,
        seq: u64,
        token: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors