#[repr(C)]pub struct IpcData {
pub value: u32,
pub from_id: u32,
pub receiving: bool,
pub dstva: u32,
pub perm: u32,
}Expand description
The IPC data collected together. Compatible with the C-Like memory structure.
Fields§
§value: u32The value passed directly.
from_id: u32The sender’s env id.
receiving: boolMark this env’s receiving status.
dstva: u32The target virtual address.
perm: u32The page permission.
Implementations§
Source§impl IpcData
impl IpcData
Sourcepub const fn const_construct() -> Self
pub const fn const_construct() -> Self
Used for the static construction. All members are filled with zero.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpcData
impl RefUnwindSafe for IpcData
impl Send for IpcData
impl Sync for IpcData
impl Unpin for IpcData
impl UnwindSafe for IpcData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)