Struct twizzler_abi::upcall::UpcallData
source · #[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<UpcallData> for UpcallData
impl PartialEq<UpcallData> for UpcallData
source§fn eq(&self, other: &UpcallData) -> bool
fn eq(&self, other: &UpcallData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UpcallData> for UpcallData
impl PartialOrd<UpcallData> for UpcallData
source§fn partial_cmp(&self, other: &UpcallData) -> Option<Ordering>
fn partial_cmp(&self, other: &UpcallData) -> 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 UpcallData
impl Eq for UpcallData
impl StructuralEq for UpcallData
impl StructuralPartialEq for UpcallData
Auto Trait Implementations§
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