☰
Type Definition WsStream
Trait Implementations
WebSocketGatewayClientExt
Other items in
serenity
::
gateway
All crates
?
Type Definition
serenity
::
gateway
::
WsStream
[
−
]
[src]
pub type WsStream =
WebSocketStream
<
ConnectStream
>;
Trait Implementations
[src]
impl
WebSocketGatewayClientExt
for
WsStream
[src]
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,
[src]
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,
[src]
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,
[src]
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,
[src]
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,