pub enum M2dirEntryGetError {
UnexpectedArg,
MissingArg,
NotFound(String),
List(M2dirEntryListError),
Parse(ParseFilenameError),
}Expand description
Failure causes during the m2dir GET flow.
Variants§
Trait Implementations§
Source§impl Clone for M2dirEntryGetError
impl Clone for M2dirEntryGetError
Source§fn clone(&self) -> M2dirEntryGetError
fn clone(&self) -> M2dirEntryGetError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 M2dirEntryGetError
impl Debug for M2dirEntryGetError
Source§impl Display for M2dirEntryGetError
impl Display for M2dirEntryGetError
Source§impl Error for M2dirEntryGetError
impl Error for M2dirEntryGetError
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<M2dirEntryGetError> for M2dirClientError
Available on crate feature client only.
impl From<M2dirEntryGetError> for M2dirClientError
Available on crate feature
client only.Source§fn from(source: M2dirEntryGetError) -> Self
fn from(source: M2dirEntryGetError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEntryListError> for M2dirEntryGetError
impl From<M2dirEntryListError> for M2dirEntryGetError
Source§fn from(source: M2dirEntryListError) -> Self
fn from(source: M2dirEntryListError) -> Self
Converts to this type from the input type.
Source§impl From<ParseFilenameError> for M2dirEntryGetError
impl From<ParseFilenameError> for M2dirEntryGetError
Source§fn from(source: ParseFilenameError) -> Self
fn from(source: ParseFilenameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for M2dirEntryGetError
impl RefUnwindSafe for M2dirEntryGetError
impl Send for M2dirEntryGetError
impl Sync for M2dirEntryGetError
impl Unpin for M2dirEntryGetError
impl UnsafeUnpin for M2dirEntryGetError
impl UnwindSafe for M2dirEntryGetError
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