Enum backend::models::storage::ImageError [−][src]
pub enum ImageError {
TooLarge,
InvalidType,
Io(Error),
}
Expand description
Error type of saving image
Fields
ImageError::TooLarge
: The image is too large, more than the limitImageError::InvalidType
: The content type is invalidImageError::Io
: Io error
Variants
Io(Error)
Tuple Fields of Io
0: Error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ImageError
impl Send for ImageError
impl Sync for ImageError
impl Unpin for ImageError
impl !UnwindSafe for ImageError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
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