#[repr(C)]pub enum UpcallInfo {
Exception(ExceptionInfo),
ObjectMemoryFault(ObjectMemoryFaultInfo),
MemoryContextViolation(MemoryContextViolationInfo),
SecurityViolation(SecurityViolationInfo),
}
Expand description
Possible upcall reasons and info.
Variants§
Exception(ExceptionInfo)
ObjectMemoryFault(ObjectMemoryFaultInfo)
MemoryContextViolation(MemoryContextViolationInfo)
SecurityViolation(SecurityViolationInfo)
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 for UpcallInfo
impl PartialEq for UpcallInfo
Source§impl PartialOrd for UpcallInfo
impl PartialOrd for UpcallInfo
impl Copy for UpcallInfo
impl Eq for UpcallInfo
impl StructuralPartialEq for UpcallInfo
Auto Trait Implementations§
impl Freeze for UpcallInfo
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