#[repr(C)]pub struct Payload {
pub ptr: usize,
pub user_data: usize,
pub next_user_data: usize,
pub call_id: u32,
pub flag: u32,
}
Fields§
§ptr: usize
§user_data: usize
§next_user_data: usize
§call_id: u32
§flag: u32
Implementations§
Source§impl Payload
impl Payload
pub const fn new_call(call_id: u32, user_data: usize, ptr: usize) -> Self
pub fn new_reply( call_id: u32, user_data: usize, next_user_data: usize, ptr: usize, ) -> Self
pub fn new_drop(call_id: u32, user_data: usize) -> Self
pub const fn new_quit_init() -> Self
pub const fn new_quit_ack() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
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