[−][src]Trait serenity::gateway::WebSocketGatewayClientExt
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>,
&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<()>
&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<()>
&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<()>
&mut self,
shard_info: &[u64; 2],
session_id: &str,
seq: u64,
token: &str
) -> Result<()>
Implementors
impl WebSocketGatewayClientExt for WsClient
[src]
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>,
[src]
&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<()>
[src]
&mut self,
shard_info: &[u64; 2],
seq: Option<u64>
) -> Result<()>
fn send_identify(&mut self, shard_info: &[u64; 2], token: &str) -> Result<()>
[src]
fn send_presence_update(
&mut self,
shard_info: &[u64; 2],
current_presence: &CurrentPresence
) -> Result<()>
[src]
&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<()>
[src]
&mut self,
shard_info: &[u64; 2],
session_id: &str,
seq: u64,
token: &str
) -> Result<()>