Enum wildland_cargo_lib::errors::user::UserRetrievalError
source · #[repr(C)]pub enum UserRetrievalError {
ForestRetrievalError(ForestRetrievalError),
ForestNotFound(String),
LssError(LssError),
CatlibError(CatlibError),
DeviceMetadataNotFound,
UserNotFound,
AutomountError(String, AutomountError),
}
Variants§
ForestRetrievalError(ForestRetrievalError)
ForestNotFound(String)
LssError(LssError)
CatlibError(CatlibError)
DeviceMetadataNotFound
UserNotFound
AutomountError(String, AutomountError)
Trait Implementations§
source§impl Clone for UserRetrievalError
impl Clone for UserRetrievalError
source§fn clone(&self) -> UserRetrievalError
fn clone(&self) -> UserRetrievalError
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 UserRetrievalError
impl Debug for UserRetrievalError
source§impl Display for UserRetrievalError
impl Display for UserRetrievalError
source§impl<T> ErrContext<UserRetrievalError, T> for Result<T, AutomountError>
impl<T> ErrContext<UserRetrievalError, T> for Result<T, AutomountError>
source§impl Error for UserRetrievalError
impl Error for UserRetrievalError
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 ExceptionTrait for UserRetrievalError
impl ExceptionTrait for UserRetrievalError
source§impl From<CatlibError> for UserRetrievalError
impl From<CatlibError> for UserRetrievalError
source§fn from(source: CatlibError) -> Self
fn from(source: CatlibError) -> Self
Converts to this type from the input type.
source§impl From<ForestRetrievalError> for UserRetrievalError
impl From<ForestRetrievalError> for UserRetrievalError
source§fn from(source: ForestRetrievalError) -> Self
fn from(source: ForestRetrievalError) -> Self
Converts to this type from the input type.
source§impl From<LssError> for UserRetrievalError
impl From<LssError> for UserRetrievalError
source§impl PartialEq<UserRetrievalError> for UserRetrievalError
impl PartialEq<UserRetrievalError> for UserRetrievalError
source§fn eq(&self, other: &UserRetrievalError) -> bool
fn eq(&self, other: &UserRetrievalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserRetrievalError
impl StructuralEq for UserRetrievalError
impl StructuralPartialEq for UserRetrievalError
Auto Trait Implementations§
impl RefUnwindSafe for UserRetrievalError
impl Send for UserRetrievalError
impl Sync for UserRetrievalError
impl Unpin for UserRetrievalError
impl UnwindSafe for UserRetrievalError
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.source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.