[−][src]Trait twilight_gateway::queue::Queue
Required methods
#[must_use]fn request<'life0, 'async_trait>(
&'life0 self,
shard_id: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
shard_id: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl Queue for LargeBotQueue
[src]
fn request<'life0, 'async_trait>(
&'life0 self,
shard_id: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
shard_id: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Request to be able to identify with the gateway. This will place this request behind all other requests, and the returned future will resolve once the request has been completed.
impl Queue for LocalQueue
[src]
fn request<'life0, 'async_trait>(
&'life0 self,
__arg1: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
__arg1: [u64; 2]
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Request to be able to identify with the gateway. This will place this request behind all other requests, and the returned future will resolve once the request has been completed.