Enum sgx_trts::veh::ExceptionType
source · #[repr(u32)]pub enum ExceptionType {
Hardware = 3,
Software = 6,
}
Variants§
Trait Implementations§
source§impl Clone for ExceptionType
impl Clone for ExceptionType
source§fn clone(&self) -> ExceptionType
fn clone(&self) -> ExceptionType
Returns a copy 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 ExceptionType
impl Debug for ExceptionType
source§impl Default for ExceptionType
impl Default for ExceptionType
source§fn default() -> ExceptionType
fn default() -> ExceptionType
Returns the “default value” for a type. Read more
source§impl From<ExceptionType> for u32
impl From<ExceptionType> for u32
source§fn from(n: ExceptionType) -> u32
fn from(n: ExceptionType) -> u32
Converts to this type from the input type.
source§impl PartialEq for ExceptionType
impl PartialEq for ExceptionType
source§fn eq(&self, other: &ExceptionType) -> bool
fn eq(&self, other: &ExceptionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for ExceptionType
impl TryFrom<u32> for ExceptionType
impl ContiguousMemory for ExceptionType
impl Copy for ExceptionType
impl Eq for ExceptionType
impl StructuralEq for ExceptionType
impl StructuralPartialEq for ExceptionType
Auto Trait Implementations§
impl RefUnwindSafe for ExceptionType
impl Send for ExceptionType
impl Sync for ExceptionType
impl Unpin for ExceptionType
impl UnwindSafe for ExceptionType
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