pub struct GetGatewayAuthed<'a> { /* private fields */ }
Expand description
Get information about the gateway, authenticated as a bot user.
Returns additional information: the recommended number of shards to use, and information on the current session start limit.
Trait Implementations§
source§impl IntoFuture for GetGatewayAuthed<'_>
impl IntoFuture for GetGatewayAuthed<'_>
source§type Output = Result<Response<BotConnectionInfo>, Error>
type Output = Result<Response<BotConnectionInfo>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<BotConnectionInfo>
type IntoFuture = ResponseFuture<BotConnectionInfo>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
source§impl TryIntoRequest for GetGatewayAuthed<'_>
impl TryIntoRequest for GetGatewayAuthed<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetGatewayAuthed<'a>
impl<'a> !RefUnwindSafe for GetGatewayAuthed<'a>
impl<'a> Send for GetGatewayAuthed<'a>
impl<'a> Sync for GetGatewayAuthed<'a>
impl<'a> Unpin for GetGatewayAuthed<'a>
impl<'a> !UnwindSafe for GetGatewayAuthed<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more