pub enum M2dirCreateError {
UnexpectedArg,
MissingArg,
Resolve(M2dirStoreError),
}Expand description
Failure causes during the m2dir CREATE flow.
Variants§
Trait Implementations§
Source§impl Clone for M2dirCreateError
impl Clone for M2dirCreateError
Source§fn clone(&self) -> M2dirCreateError
fn clone(&self) -> M2dirCreateError
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 M2dirCreateError
impl Debug for M2dirCreateError
Source§impl Display for M2dirCreateError
impl Display for M2dirCreateError
Source§impl Error for M2dirCreateError
impl Error for M2dirCreateError
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<M2dirCreateError> for M2dirClientError
Available on crate feature client only.
impl From<M2dirCreateError> for M2dirClientError
Available on crate feature
client only.Source§fn from(source: M2dirCreateError) -> Self
fn from(source: M2dirCreateError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirStoreError> for M2dirCreateError
impl From<M2dirStoreError> for M2dirCreateError
Source§fn from(source: M2dirStoreError) -> Self
fn from(source: M2dirStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for M2dirCreateError
impl RefUnwindSafe for M2dirCreateError
impl Send for M2dirCreateError
impl Sync for M2dirCreateError
impl Unpin for M2dirCreateError
impl UnsafeUnpin for M2dirCreateError
impl UnwindSafe for M2dirCreateError
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