[][src]Enum sgx_types::sgx_generic_ecresult_t

#[repr(u32)]pub enum sgx_generic_ecresult_t {
    SGX_EC_VALID,
    SGX_EC_COMPOSITE_BASE,
    SGX_EC_COMPLICATED_BASE,
    SGX_EC_IS_ZERO_DISCRIMINANT,
    SGX_EC_COMPOSITE_ORDER,
    SGX_EC_INVALID_ORDER,
    SGX_EC_IS_WEAK_MOV,
    SGX_EC_IS_WEAK_SSA,
    SGX_EC_IS_SUPER_SINGULAR,
    SGX_EC_INVALID_PRIVATE_KEY,
    SGX_EC_INVALID_PUBLIC_KEY,
    SGX_EC_INVALID_KEY_PAIR,
    SGX_EC_POINT_OUT_OF_GROUP,
    SGX_EC_POINT_IS_AT_INFINITY,
    SGX_EC_POINT_IS_NOT_VALID,
    SGX_EC_POINT_IS_EQUAL,
    SGX_EC_POINT_IS_NOT_EQUAL,
    SGX_EC_INVALID_SIGNATURE,
}

Variants

SGX_EC_VALID
SGX_EC_COMPOSITE_BASE
SGX_EC_COMPLICATED_BASE
SGX_EC_IS_ZERO_DISCRIMINANT
SGX_EC_COMPOSITE_ORDER
SGX_EC_INVALID_ORDER
SGX_EC_IS_WEAK_MOV
SGX_EC_IS_WEAK_SSA
SGX_EC_IS_SUPER_SINGULAR
SGX_EC_INVALID_PRIVATE_KEY
SGX_EC_INVALID_PUBLIC_KEY
SGX_EC_INVALID_KEY_PAIR
SGX_EC_POINT_OUT_OF_GROUP
SGX_EC_POINT_IS_AT_INFINITY
SGX_EC_POINT_IS_NOT_VALID
SGX_EC_POINT_IS_EQUAL
SGX_EC_POINT_IS_NOT_EQUAL
SGX_EC_INVALID_SIGNATURE

Methods

impl sgx_generic_ecresult_t[src]

pub fn from_repr(v: u32) -> Option<Self>[src]

pub fn from_key(self) -> u32[src]

Trait Implementations

impl Clone for sgx_generic_ecresult_t[src]

impl Copy for sgx_generic_ecresult_t[src]

impl Default for sgx_generic_ecresult_t[src]

impl Eq for sgx_generic_ecresult_t[src]

impl PartialEq<sgx_generic_ecresult_t> for sgx_generic_ecresult_t[src]

impl StructuralEq for sgx_generic_ecresult_t[src]

impl StructuralPartialEq for sgx_generic_ecresult_t[src]

Auto Trait Implementations

impl Send for sgx_generic_ecresult_t

impl Sync for sgx_generic_ecresult_t

impl Unpin for sgx_generic_ecresult_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.