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