pub enum AutumnError {
Show 13 variants
FileTooLarge {
max_size: usize,
},
FileTypeNotAllowed,
FailedToReceive,
BlockingError,
DatabaseError,
MissingData,
UnknownTag,
ProbeError,
NotFound,
Malware,
IOError,
S3Error,
LabelMe,
}Expand description
Revolt file storage API error
Variants§
FileTooLarge
FileTypeNotAllowed
FailedToReceive
BlockingError
DatabaseError
MissingData
UnknownTag
ProbeError
NotFound
Malware
IOError
S3Error
LabelMe
Trait Implementations§
Source§impl Clone for AutumnError
impl Clone for AutumnError
Source§fn clone(&self) -> AutumnError
fn clone(&self) -> AutumnError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutumnError
impl Debug for AutumnError
Source§impl<'de> Deserialize<'de> for AutumnError
impl<'de> Deserialize<'de> for AutumnError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for AutumnError
impl Hash for AutumnError
Source§impl Ord for AutumnError
impl Ord for AutumnError
Source§fn cmp(&self, other: &AutumnError) -> Ordering
fn cmp(&self, other: &AutumnError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AutumnError
impl PartialEq for AutumnError
Source§impl PartialOrd for AutumnError
impl PartialOrd for AutumnError
impl Eq for AutumnError
impl StructuralPartialEq for AutumnError
Auto Trait Implementations§
impl Freeze for AutumnError
impl RefUnwindSafe for AutumnError
impl Send for AutumnError
impl Sync for AutumnError
impl Unpin for AutumnError
impl UnwindSafe for AutumnError
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