Struct twilight_http::request::channel::message::get_channel_messages::GetChannelMessagesError [−][src]
pub struct GetChannelMessagesError { /* fields omitted */ }
Expand description
The error returned if the request can not be created as configured.
Implementations
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &GetChannelMessagesErrorType
[src]
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &GetChannelMessagesErrorType
[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
) -> (GetChannelMessagesErrorType, 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
) -> (GetChannelMessagesErrorType, 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 GetChannelMessagesError
impl Send for GetChannelMessagesError
impl Sync for GetChannelMessagesError
impl Unpin for GetChannelMessagesError
impl UnwindSafe for GetChannelMessagesError