pub enum MeasurementError {
InvalidArgument,
NotPermitted,
DoesNotExist,
BadState,
InvalidData(&'static str),
}Expand description
Measurement error enumeration.
Variants§
InvalidArgument
TODO
NotPermitted
Signer_id doesn’t match
DoesNotExist
Wrong slot_id
BadState
Slot_id extension is locked
InvalidData(&'static str)
HW data is out of bounds
Trait Implementations§
Source§impl Debug for MeasurementError
impl Debug for MeasurementError
Source§impl From<MeasurementError> for IsletHESError
impl From<MeasurementError> for IsletHESError
Source§fn from(value: MeasurementError) -> Self
fn from(value: MeasurementError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MeasurementError
impl PartialEq for MeasurementError
Source§fn eq(&self, other: &MeasurementError) -> bool
fn eq(&self, other: &MeasurementError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeasurementError
Auto Trait Implementations§
impl Freeze for MeasurementError
impl RefUnwindSafe for MeasurementError
impl Send for MeasurementError
impl Sync for MeasurementError
impl Unpin for MeasurementError
impl UnsafeUnpin for MeasurementError
impl UnwindSafe for MeasurementError
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