Enum twilight_embed_builder::image_source::ImageSourceAttachmentErrorType [−][src]
#[non_exhaustive] pub enum ImageSourceAttachmentErrorType { ExtensionEmpty, ExtensionMissing, }
Expand description
Type of ImageSourceAttachmentError
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.
An extension is present in the provided filename but it is empty.
An extension is missing in the provided filename.
Trait Implementations
Auto Trait Implementations
impl Send for ImageSourceAttachmentErrorType
impl Sync for ImageSourceAttachmentErrorType
impl Unpin for ImageSourceAttachmentErrorType
impl UnwindSafe for ImageSourceAttachmentErrorType