#[non_exhaustive]pub enum FilestoreError {
FileDoesNotExist,
FileAlreadyExists,
DirDoesNotExist,
Permission,
IsNotFile,
IsNotDirectory,
ByteConversion(ByteConversionError),
Io(Error),
ChecksumTypeNotImplemented(ChecksumType),
Utf8Error,
Other,
}
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.
FileDoesNotExist
FileAlreadyExists
DirDoesNotExist
Permission
IsNotFile
IsNotDirectory
ByteConversion(ByteConversionError)
Io(Error)
Available on crate feature
std
only.ChecksumTypeNotImplemented(ChecksumType)
Utf8Error
Other
Trait Implementations§
Source§impl Debug for FilestoreError
impl Debug for FilestoreError
Source§impl Display for FilestoreError
impl Display for FilestoreError
Source§impl Error for FilestoreError
impl Error for FilestoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ByteConversionError> for FilestoreError
impl From<ByteConversionError> for FilestoreError
Source§fn from(source: ByteConversionError) -> Self
fn from(source: ByteConversionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FilestoreError
impl From<Error> for FilestoreError
Source§impl From<FilestoreError> for DestError
impl From<FilestoreError> for DestError
Source§fn from(source: FilestoreError) -> Self
fn from(source: FilestoreError) -> Self
Converts to this type from the input type.
Source§impl From<FilestoreError> for PutRequestError
impl From<FilestoreError> for PutRequestError
Source§fn from(source: FilestoreError) -> Self
fn from(source: FilestoreError) -> Self
Converts to this type from the input type.
Source§impl From<FilestoreError> for SourceError
impl From<FilestoreError> for SourceError
Source§fn from(source: FilestoreError) -> Self
fn from(source: FilestoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FilestoreError
impl !RefUnwindSafe for FilestoreError
impl Send for FilestoreError
impl Sync for FilestoreError
impl Unpin for FilestoreError
impl !UnwindSafe for FilestoreError
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