Struct twilight_http::request::user::get_current_user_guilds::GetCurrentUserGuildsError [−][src]
pub struct GetCurrentUserGuildsError { /* fields omitted */ }
Expand description
The error created when the current guilds can not be retrieved as configured.
Implementations
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &GetCurrentUserGuildsErrorType
[src]
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &GetCurrentUserGuildsErrorType
[src]Immutable reference to the type of error that occurred.
Consume the error, returning the source error if there is any.
#[must_use = "consuming the error into its parts has no effect if left unused"]pub fn into_parts(
self
) -> (GetCurrentUserGuildsErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]
#[must_use = "consuming the error into its parts has no effect if left unused"]pub fn into_parts(
self
) -> (GetCurrentUserGuildsErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]Consume the error, returning the owned error type and the source error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GetCurrentUserGuildsError
impl Send for GetCurrentUserGuildsError
impl Sync for GetCurrentUserGuildsError
impl Unpin for GetCurrentUserGuildsError
impl UnwindSafe for GetCurrentUserGuildsError