Enum hsmtool::util::attribute::AttributeError
source · pub enum AttributeError {
InvalidDataType,
EncodingError,
UnknownAttribute(Attribute),
UnknownAttributeType(AttributeType),
AttributeNotFound(AttributeType),
}
Variants§
InvalidDataType
EncodingError
UnknownAttribute(Attribute)
UnknownAttributeType(AttributeType)
AttributeNotFound(AttributeType)
Trait Implementations§
source§impl Debug for AttributeError
impl Debug for AttributeError
source§impl Display for AttributeError
impl Display for AttributeError
source§impl Error for AttributeError
impl Error for AttributeError
1.30.0 · 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 From<AttributeError> for HsmError
impl From<AttributeError> for HsmError
source§fn from(source: AttributeError) -> Self
fn from(source: AttributeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AttributeError
impl Send for AttributeError
impl Sync for AttributeError
impl Unpin for AttributeError
impl UnwindSafe for AttributeError
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