#[repr(C)]pub struct IpcPermissions {
pub can_send: bool,
pub can_receive: bool,
pub can_share: bool,
pub max_message_size: usize,
}Expand description
IPC permissions structure
Fields§
§can_send: boolCan send messages to target
can_receive: boolCan receive messages from target
Can share this capability with other processes
max_message_size: usizeMaximum message size allowed (0 = unlimited)
Implementations§
Trait Implementations§
Source§impl Clone for IpcPermissions
impl Clone for IpcPermissions
Source§fn clone(&self) -> IpcPermissions
fn clone(&self) -> IpcPermissions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpcPermissions
impl Debug for IpcPermissions
Source§impl PartialEq for IpcPermissions
impl PartialEq for IpcPermissions
impl Copy for IpcPermissions
impl Eq for IpcPermissions
impl StructuralPartialEq for IpcPermissions
Auto Trait Implementations§
impl Freeze for IpcPermissions
impl RefUnwindSafe for IpcPermissions
impl Send for IpcPermissions
impl Sync for IpcPermissions
impl Unpin for IpcPermissions
impl UnwindSafe for IpcPermissions
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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)