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