pub enum TpmError {
CapacityExceeded,
InvalidDiscriminant(&'static str, TpmDiscriminant),
Malformed,
Trailing,
Truncated,
}Expand description
TPM protocol error.
Variants§
CapacityExceeded
Capacity of a structure has been exceeded,
InvalidDiscriminant(&'static str, TpmDiscriminant)
Unknown discriminant.
Malformed
The frame or object is malformed.
Trailing
Trailing data left.
Truncated
Not enough bytes to unmarshal.
Trait Implementations§
impl Eq for TpmError
impl StructuralPartialEq for TpmError
Auto Trait Implementations§
impl Freeze for TpmError
impl RefUnwindSafe for TpmError
impl Send for TpmError
impl Sync for TpmError
impl Unpin for TpmError
impl UnwindSafe for TpmError
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