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