Struct nx::ipc::CommandContent
source · [−]pub struct CommandContent {
pub send_process_id: bool,
pub process_id: u64,
pub data_size: u32,
pub data_offset: *mut u8,
pub data_words_offset: *mut u8,
pub objects_offset: *mut u8,
/* private fields */
}
Fields
send_process_id: bool
process_id: u64
data_size: u32
data_offset: *mut u8
data_words_offset: *mut u8
objects_offset: *mut u8
Implementations
sourceimpl CommandContent
impl CommandContent
pub fn empty() -> Self
pub fn add_handle<const M: HandleMode>(
&mut self,
handle: Handle<M>
) -> Result<()>
pub fn add_domain_object(
&mut self,
domain_object_id: DomainObjectId
) -> Result<()>
pub fn add_object(&mut self, object_info: ObjectInfo) -> Result<()>
pub fn pop_copy_handle(&mut self) -> Result<Handle>
pub fn pop_move_handle(&mut self) -> Result<Handle>
pub fn pop_handle<const M: HandleMode>(&mut self) -> Result<Handle<M>>
pub fn push_handle<const M: HandleMode>(
&mut self,
handle: Handle<M>
) -> Result<()>
pub fn pop_domain_object(&mut self) -> Result<DomainObjectId>
pub fn push_domain_object(
&mut self,
domain_object_id: DomainObjectId
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for CommandContent
impl !Send for CommandContent
impl !Sync for CommandContent
impl Unpin for CommandContent
impl UnwindSafe for CommandContent
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more