#[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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.