pub enum M2dirClientError {
Show 14 variants
Store(M2dirStoreError),
LoadM2dir(LoadM2dirError),
CreateM2dir(M2dirCreateError),
DeleteM2dir(M2dirDeleteError),
ListM2dirs(M2dirListError),
ListEntries(M2dirEntryListError),
GetEntry(M2dirEntryGetError),
StoreEntry(M2dirEntryStoreError),
DeleteEntry(M2dirEntryDeleteError),
AddFlags(M2dirFlagAddError),
RemoveFlags(M2dirFlagRemoveError),
SetFlags(M2dirFlagSetError),
Parse(ParseFilenameError),
Io(Error),
}Available on crate feature
client only.Expand description
Errors returned by M2dirClient.
Variants§
Store(M2dirStoreError)
LoadM2dir(LoadM2dirError)
CreateM2dir(M2dirCreateError)
DeleteM2dir(M2dirDeleteError)
ListM2dirs(M2dirListError)
ListEntries(M2dirEntryListError)
GetEntry(M2dirEntryGetError)
StoreEntry(M2dirEntryStoreError)
DeleteEntry(M2dirEntryDeleteError)
AddFlags(M2dirFlagAddError)
RemoveFlags(M2dirFlagRemoveError)
SetFlags(M2dirFlagSetError)
Parse(ParseFilenameError)
Io(Error)
Trait Implementations§
Source§impl Debug for M2dirClientError
impl Debug for M2dirClientError
Source§impl Display for M2dirClientError
impl Display for M2dirClientError
Source§impl Error for M2dirClientError
impl Error for M2dirClientError
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<Error> for M2dirClientError
impl From<Error> for M2dirClientError
Source§impl From<LoadM2dirError> for M2dirClientError
impl From<LoadM2dirError> for M2dirClientError
Source§fn from(source: LoadM2dirError) -> Self
fn from(source: LoadM2dirError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirCreateError> for M2dirClientError
impl From<M2dirCreateError> for M2dirClientError
Source§fn from(source: M2dirCreateError) -> Self
fn from(source: M2dirCreateError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirDeleteError> for M2dirClientError
impl From<M2dirDeleteError> for M2dirClientError
Source§fn from(source: M2dirDeleteError) -> Self
fn from(source: M2dirDeleteError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEntryDeleteError> for M2dirClientError
impl From<M2dirEntryDeleteError> for M2dirClientError
Source§fn from(source: M2dirEntryDeleteError) -> Self
fn from(source: M2dirEntryDeleteError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEntryGetError> for M2dirClientError
impl From<M2dirEntryGetError> for M2dirClientError
Source§fn from(source: M2dirEntryGetError) -> Self
fn from(source: M2dirEntryGetError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEntryListError> for M2dirClientError
impl From<M2dirEntryListError> for M2dirClientError
Source§fn from(source: M2dirEntryListError) -> Self
fn from(source: M2dirEntryListError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEntryStoreError> for M2dirClientError
impl From<M2dirEntryStoreError> for M2dirClientError
Source§fn from(source: M2dirEntryStoreError) -> Self
fn from(source: M2dirEntryStoreError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirFlagAddError> for M2dirClientError
impl From<M2dirFlagAddError> for M2dirClientError
Source§fn from(source: M2dirFlagAddError) -> Self
fn from(source: M2dirFlagAddError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirFlagRemoveError> for M2dirClientError
impl From<M2dirFlagRemoveError> for M2dirClientError
Source§fn from(source: M2dirFlagRemoveError) -> Self
fn from(source: M2dirFlagRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirFlagSetError> for M2dirClientError
impl From<M2dirFlagSetError> for M2dirClientError
Source§fn from(source: M2dirFlagSetError) -> Self
fn from(source: M2dirFlagSetError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirListError> for M2dirClientError
impl From<M2dirListError> for M2dirClientError
Source§fn from(source: M2dirListError) -> Self
fn from(source: M2dirListError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirStoreError> for M2dirClientError
impl From<M2dirStoreError> for M2dirClientError
Source§fn from(source: M2dirStoreError) -> Self
fn from(source: M2dirStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ParseFilenameError> for M2dirClientError
impl From<ParseFilenameError> for M2dirClientError
Source§fn from(source: ParseFilenameError) -> Self
fn from(source: ParseFilenameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for M2dirClientError
impl !UnwindSafe for M2dirClientError
impl Freeze for M2dirClientError
impl Send for M2dirClientError
impl Sync for M2dirClientError
impl Unpin for M2dirClientError
impl UnsafeUnpin for M2dirClientError
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