#[non_exhaustive]pub enum ImageSourceAttachmentErrorType {
ExtensionEmpty,
ExtensionMissing,
}
Available on crate feature
builder
only.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.
ExtensionEmpty
An extension is present in the provided filename but it is empty.
ExtensionMissing
An extension is missing in the provided filename.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageSourceAttachmentErrorType
impl RefUnwindSafe for ImageSourceAttachmentErrorType
impl Send for ImageSourceAttachmentErrorType
impl Sync for ImageSourceAttachmentErrorType
impl Unpin for ImageSourceAttachmentErrorType
impl UnwindSafe for ImageSourceAttachmentErrorType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more