pub enum FromStrIdentityTypeError {
DecodeError(ParseIntError),
InvalidByteLength(usize),
IdentityTypeError(IdentityTypeError),
}
Expand description
Error while parsing IdentityType
from a string.
Variants§
DecodeError(ParseIntError)
Error while decoding the string.
InvalidByteLength(usize)
Expected the string to encode IDENTITY_TYPE_LENGTH
bytes, got this many bytes instead.
IdentityTypeError(IdentityTypeError)
Error in IdentityType
.
Trait Implementations§
source§impl Debug for FromStrIdentityTypeError
impl Debug for FromStrIdentityTypeError
source§impl From<FromSliceIdentityTypeError> for FromStrIdentityTypeError
impl From<FromSliceIdentityTypeError> for FromStrIdentityTypeError
source§fn from(err: FromSliceIdentityTypeError) -> Self
fn from(err: FromSliceIdentityTypeError) -> Self
Converts to this type from the input type.
source§impl From<FromStrIdentityTypeError> for FromStrIdentityError
impl From<FromStrIdentityTypeError> for FromStrIdentityError
source§fn from(err: FromStrIdentityTypeError) -> Self
fn from(err: FromStrIdentityTypeError) -> Self
Converts to this type from the input type.
source§impl From<IdentityTypeError> for FromStrIdentityTypeError
impl From<IdentityTypeError> for FromStrIdentityTypeError
source§fn from(err: IdentityTypeError) -> Self
fn from(err: IdentityTypeError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for FromStrIdentityTypeError
impl From<ParseIntError> for FromStrIdentityTypeError
source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromStrIdentityTypeError
impl RefUnwindSafe for FromStrIdentityTypeError
impl Send for FromStrIdentityTypeError
impl Sync for FromStrIdentityTypeError
impl Unpin for FromStrIdentityTypeError
impl UnwindSafe for FromStrIdentityTypeError
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