pub enum IdentityError {
AddressError(AddressError),
IdentityTypeError(IdentityTypeError),
PublicKeyError(PublicKeyError),
}
Expand description
Error in Identity
.
Variants§
AddressError(AddressError)
Error in the Address
part.
IdentityTypeError(IdentityTypeError)
Error in the IdentityType
part.
PublicKeyError(PublicKeyError)
Error in the PublicKey
part.
Trait Implementations§
source§impl From<AddressError> for IdentityError
impl From<AddressError> for IdentityError
source§fn from(err: AddressError) -> Self
fn from(err: AddressError) -> Self
Converts to this type from the input type.
source§impl From<Error> for IdentityError
impl From<Error> for IdentityError
source§fn from(err: PublicKeyError) -> Self
fn from(err: PublicKeyError) -> Self
Converts to this type from the input type.
source§impl From<IdentityTypeError> for IdentityError
impl From<IdentityTypeError> for IdentityError
source§fn from(err: IdentityTypeError) -> Self
fn from(err: IdentityTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentityError
impl !RefUnwindSafe for IdentityError
impl Send for IdentityError
impl Sync for IdentityError
impl Unpin for IdentityError
impl !UnwindSafe for IdentityError
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