Enum twizzler_abi::upcall::UpcallInfo
source · #[repr(C)]pub enum UpcallInfo {
Exception(ExceptionInfo),
ObjectMemoryFault(ObjectMemoryFaultInfo),
MemoryContextViolation(MemoryContextViolationInfo),
}
Expand description
Possible upcall reasons and info.
Variants§
Exception(ExceptionInfo)
ObjectMemoryFault(ObjectMemoryFaultInfo)
MemoryContextViolation(MemoryContextViolationInfo)
Implementations§
source§impl UpcallInfo
impl UpcallInfo
Trait Implementations§
source§impl Clone for UpcallInfo
impl Clone for UpcallInfo
source§fn clone(&self) -> UpcallInfo
fn clone(&self) -> UpcallInfo
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 UpcallInfo
impl Debug for UpcallInfo
source§impl Ord for UpcallInfo
impl Ord for UpcallInfo
source§fn cmp(&self, other: &UpcallInfo) -> Ordering
fn cmp(&self, other: &UpcallInfo) -> 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<UpcallInfo> for UpcallInfo
impl PartialEq<UpcallInfo> for UpcallInfo
source§fn eq(&self, other: &UpcallInfo) -> bool
fn eq(&self, other: &UpcallInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UpcallInfo> for UpcallInfo
impl PartialOrd<UpcallInfo> for UpcallInfo
source§fn partial_cmp(&self, other: &UpcallInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &UpcallInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UpcallInfo
impl Eq for UpcallInfo
impl StructuralEq for UpcallInfo
impl StructuralPartialEq for UpcallInfo
Auto Trait Implementations§
impl ObjSafe for UpcallInfo
impl RefUnwindSafe for UpcallInfo
impl Send for UpcallInfo
impl Sync for UpcallInfo
impl Unpin for UpcallInfo
impl UnwindSafe for UpcallInfo
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