Enum twilight_http::request::template::create_template::CreateTemplateErrorType [−][src]
#[non_exhaustive]
pub enum CreateTemplateErrorType {
NameInvalid,
DescriptionTooLarge,
}
Expand description
Type of CreateTemplateError
that occurred.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NameInvalid
Name of the template is invalid.
DescriptionTooLarge
Description of the template is invalid.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreateTemplateErrorType
impl Send for CreateTemplateErrorType
impl Sync for CreateTemplateErrorType
impl Unpin for CreateTemplateErrorType
impl UnwindSafe for CreateTemplateErrorType
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more