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

pub trait WebSocketGatewayClientExt {
    fn send_chunk_guilds<It>(
        &mut self,
        guild_ids: It,
        shard_info: &[u64; 2],
        limit: Option<u16>,
        query: Option<&str>
    ) -> Result<()>
    where
        It: IntoIterator<Item = GuildId>
;
fn send_heartbeat(
        &mut self,
        shard_info: &[u64; 2],
        seq: Option<u64>
    ) -> Result<()>;
fn send_identify(
        &mut self,
        shard_info: &[u64; 2],
        token: &str
    ) -> Result<()>;
fn send_presence_update(
        &mut self,
        shard_info: &[u64; 2],
        current_presence: &CurrentPresence
    ) -> Result<()>;
fn send_resume(
        &mut self,
        shard_info: &[u64; 2],
        session_id: &str,
        seq: u64,
        token: &str
    ) -> Result<()>; }

Required methods

fn send_chunk_guilds<It>(
    &mut self,
    guild_ids: It,
    shard_info: &[u64; 2],
    limit: Option<u16>,
    query: Option<&str>
) -> Result<()> where
    It: IntoIterator<Item = GuildId>, 

fn send_heartbeat(
    &mut self,
    shard_info: &[u64; 2],
    seq: Option<u64>
) -> Result<()>

fn send_identify(&mut self, shard_info: &[u64; 2], token: &str) -> Result<()>

fn send_presence_update(
    &mut self,
    shard_info: &[u64; 2],
    current_presence: &CurrentPresence
) -> Result<()>

fn send_resume(
    &mut self,
    shard_info: &[u64; 2],
    session_id: &str,
    seq: u64,
    token: &str
) -> Result<()>

Loading content...

Implementors

impl WebSocketGatewayClientExt for WsClient[src]

Loading content...