Struct twizzler_abi::thread::event::AsyncEvent
source · #[repr(C)]pub struct AsyncEvent {
pub sender: ObjID,
pub flags: AsyncEventFlags,
pub message: u32,
pub aux: [u64; 7],
}
Expand description
Basic structure of an async event sent to a thread queue.
Fields§
§sender: ObjID
The sender thread’s control ID, or 0 for kernel.
flags: AsyncEventFlags
Flags for this event.
message: u32
API-specific message.
aux: [u64; 7]
API-specific data.
Implementations§
source§impl AsyncEvent
impl AsyncEvent
Trait Implementations§
source§impl Clone for AsyncEvent
impl Clone for AsyncEvent
source§fn clone(&self) -> AsyncEvent
fn clone(&self) -> AsyncEvent
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 AsyncEvent
impl Debug for AsyncEvent
source§impl Hash for AsyncEvent
impl Hash for AsyncEvent
source§impl Ord for AsyncEvent
impl Ord for AsyncEvent
source§fn cmp(&self, other: &AsyncEvent) -> Ordering
fn cmp(&self, other: &AsyncEvent) -> 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<AsyncEvent> for AsyncEvent
impl PartialEq<AsyncEvent> for AsyncEvent
source§fn eq(&self, other: &AsyncEvent) -> bool
fn eq(&self, other: &AsyncEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AsyncEvent> for AsyncEvent
impl PartialOrd<AsyncEvent> for AsyncEvent
source§fn partial_cmp(&self, other: &AsyncEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &AsyncEvent) -> 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 AsyncEvent
impl Eq for AsyncEvent
impl StructuralEq for AsyncEvent
impl StructuralPartialEq for AsyncEvent
Auto Trait Implementations§
impl ObjSafe for AsyncEvent
impl RefUnwindSafe for AsyncEvent
impl Send for AsyncEvent
impl Sync for AsyncEvent
impl Unpin for AsyncEvent
impl UnwindSafe for AsyncEvent
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