#[repr(C)]pub struct UpcallData {
pub info: UpcallInfo,
pub flags: UpcallHandlerFlags,
pub source_ctx: ObjID,
pub thread_id: ObjID,
}
Expand description
A collection of data about this upcall, and the UpcallInfo for this particular upcall.
Fields§
§info: UpcallInfo
Info for this upcall, including reason and elaboration data.
flags: UpcallHandlerFlags
Upcall flags
source_ctx: ObjID
Source context
thread_id: ObjID
The thread ID for this thread.
Trait Implementations§
source§impl Clone for UpcallData
impl Clone for UpcallData
source§fn clone(&self) -> UpcallData
fn clone(&self) -> UpcallData
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 UpcallData
impl Debug for UpcallData
source§impl Ord for UpcallData
impl Ord for UpcallData
source§fn cmp(&self, other: &UpcallData) -> Ordering
fn cmp(&self, other: &UpcallData) -> 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 UpcallData
impl PartialEq for UpcallData
source§impl PartialOrd for UpcallData
impl PartialOrd for UpcallData
impl Copy for UpcallData
impl Eq for UpcallData
impl StructuralPartialEq for UpcallData
Auto Trait Implementations§
impl Freeze for UpcallData
impl ObjSafe for UpcallData
impl RefUnwindSafe for UpcallData
impl Send for UpcallData
impl Sync for UpcallData
impl Unpin for UpcallData
impl UnwindSafe for UpcallData
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.