Struct twilight_http::request::template::create_guild_from_template::CreateGuildFromTemplateError [−][src]
pub struct CreateGuildFromTemplateError { /* fields omitted */ }
Implementations
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &CreateGuildFromTemplateErrorType
[src]
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &CreateGuildFromTemplateErrorType
[src]Immutable reference to the type of error that occurred.
Consumes the error, returning the source error if there is any.
#[must_use = "consuming the error int its parts has no effect if left unused"]pub fn into_parts(
self
) -> (CreateGuildFromTemplateErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]
#[must_use = "consuming the error int its parts has no effect if left unused"]pub fn into_parts(
self
) -> (CreateGuildFromTemplateErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]Consume the error, returning the owned error type nad the source error.
Trait Implementations
Auto Trait Implementations
impl Send for CreateGuildFromTemplateError
impl Sync for CreateGuildFromTemplateError
impl Unpin for CreateGuildFromTemplateError
impl UnwindSafe for CreateGuildFromTemplateError