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