Enum wildland_dfs::error::DfsFrontendError
source · #[repr(C)]pub enum DfsFrontendError {
Show 18 variants
NotAFile,
NotADirectory,
NoSuchPath,
PathResolutionError(PathResolutionError),
PathAlreadyExists,
InvalidParent,
StorageNotResponsive(String),
InsufficientQuota(usize),
ReadOnlyPath,
DirNotEmpty,
Generic(String),
MoveBetweenContainers,
SourceIsParentOfTarget,
Aborted,
NotSupported,
PathConflict(String),
Encryption(String),
PermissionError(String),
}
Variants§
NotAFile
NotADirectory
NoSuchPath
PathResolutionError(PathResolutionError)
PathAlreadyExists
InvalidParent
StorageNotResponsive(String)
InsufficientQuota(usize)
ReadOnlyPath
DirNotEmpty
Generic(String)
MoveBetweenContainers
SourceIsParentOfTarget
Aborted
NotSupported
PathConflict(String)
Encryption(String)
PermissionError(String)
Trait Implementations§
source§impl Clone for DfsFrontendError
impl Clone for DfsFrontendError
source§fn clone(&self) -> DfsFrontendError
fn clone(&self) -> DfsFrontendError
Returns a copy 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 DfsFrontendError
impl Debug for DfsFrontendError
source§impl Display for DfsFrontendError
impl Display for DfsFrontendError
source§impl Error for DfsFrontendError
impl Error for DfsFrontendError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<EncryptionModuleError> for DfsFrontendError
impl From<EncryptionModuleError> for DfsFrontendError
source§fn from(e: EncryptionModuleError) -> Self
fn from(e: EncryptionModuleError) -> Self
Converts to this type from the input type.
source§impl From<Error> for DfsFrontendError
impl From<Error> for DfsFrontendError
source§fn from(err: Error) -> DfsFrontendError
fn from(err: Error) -> DfsFrontendError
Converts to this type from the input type.
source§impl From<Error> for DfsFrontendError
impl From<Error> for DfsFrontendError
source§fn from(err: Error) -> DfsFrontendError
fn from(err: Error) -> DfsFrontendError
Converts to this type from the input type.
source§impl From<PathResolutionError> for DfsFrontendError
impl From<PathResolutionError> for DfsFrontendError
source§fn from(source: PathResolutionError) -> DfsFrontendError
fn from(source: PathResolutionError) -> DfsFrontendError
Converts to this type from the input type.
source§impl PartialEq<DfsFrontendError> for DfsFrontendError
impl PartialEq<DfsFrontendError> for DfsFrontendError
source§fn eq(&self, other: &DfsFrontendError) -> bool
fn eq(&self, other: &DfsFrontendError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DfsFrontendError
impl StructuralEq for DfsFrontendError
impl StructuralPartialEq for DfsFrontendError
Auto Trait Implementations§
impl RefUnwindSafe for DfsFrontendError
impl Send for DfsFrontendError
impl Sync for DfsFrontendError
impl Unpin for DfsFrontendError
impl UnwindSafe for DfsFrontendError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.