#[repr(C)]pub enum NodeProvisionErrorType {
Show 13 variants
AESMD_FAILURE = 0,
QUOTE_GENERATION_ERROR = 1,
QUOTE_VERIFICATION_ERROR = 2,
GROUP_OUT_OF_DATE = 3,
SIGRL_VERSION_MISMATCH = 4,
CONFIGURATION_NEEDED = 5,
QUOTE_REVOKED = 6,
SIGNATURE_INVALID = 7,
DCAP_ERROR = 8,
CPUSVN_OUT_OF_DATE = 9,
PSW_OUT_OF_DATE = 10,
BAD_PSW = 11,
BAD_DATA = 12,
}
Expand description
Node agent attestation error type
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
AESMD_FAILURE = 0
QUOTE_GENERATION_ERROR = 1
QUOTE_VERIFICATION_ERROR = 2
GROUP_OUT_OF_DATE = 3
SIGRL_VERSION_MISMATCH = 4
CONFIGURATION_NEEDED = 5
QUOTE_REVOKED = 6
SIGNATURE_INVALID = 7
DCAP_ERROR = 8
CPUSVN_OUT_OF_DATE = 9
PSW_OUT_OF_DATE = 10
BAD_PSW = 11
BAD_DATA = 12
Trait Implementations§
Source§impl Clone for NodeProvisionErrorType
impl Clone for NodeProvisionErrorType
Source§fn clone(&self) -> NodeProvisionErrorType
fn clone(&self) -> NodeProvisionErrorType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeProvisionErrorType
impl Debug for NodeProvisionErrorType
Source§impl<'de> Deserialize<'de> for NodeProvisionErrorType
impl<'de> Deserialize<'de> for NodeProvisionErrorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NodeProvisionErrorType
impl Display for NodeProvisionErrorType
Source§impl FromStr for NodeProvisionErrorType
impl FromStr for NodeProvisionErrorType
Source§impl Ord for NodeProvisionErrorType
impl Ord for NodeProvisionErrorType
Source§fn cmp(&self, other: &NodeProvisionErrorType) -> Ordering
fn cmp(&self, other: &NodeProvisionErrorType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NodeProvisionErrorType
impl PartialEq for NodeProvisionErrorType
Source§impl PartialOrd for NodeProvisionErrorType
impl PartialOrd for NodeProvisionErrorType
Source§impl Serialize for NodeProvisionErrorType
impl Serialize for NodeProvisionErrorType
impl Copy for NodeProvisionErrorType
impl Eq for NodeProvisionErrorType
impl StructuralPartialEq for NodeProvisionErrorType
Auto Trait Implementations§
impl Freeze for NodeProvisionErrorType
impl RefUnwindSafe for NodeProvisionErrorType
impl Send for NodeProvisionErrorType
impl Sync for NodeProvisionErrorType
impl Unpin for NodeProvisionErrorType
impl UnwindSafe for NodeProvisionErrorType
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