pub struct OsIpcSender { /* private fields */ }
Implementations§
source§impl OsIpcSender
impl OsIpcSender
sourcepub fn get_max_fragment_size() -> usize
pub fn get_max_fragment_size() -> usize
Maximum data size that can be transferred over this channel in a single packet.
This is the size of the main data chunk only – it’s independent of any auxiliary data (FDs) transferred along with it.
A send on this channel won’t block for transfers up to this size under normal circumstances. (It might still block if heavy memory pressure causes ENOBUFS, forcing us to reduce the packet size.)
pub fn send( &self, data: &[u8], channels: Vec<OsIpcChannel>, shared_memory_regions: Vec<OsIpcSharedMemory>, ) -> Result<(), UnixError>
pub fn connect(name: String) -> Result<OsIpcSender, UnixError>
Trait Implementations§
source§impl Clone for OsIpcSender
impl Clone for OsIpcSender
source§fn clone(&self) -> OsIpcSender
fn clone(&self) -> OsIpcSender
Returns a copy of the value. Read more
1.6.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 OsIpcSender
impl Debug for OsIpcSender
source§impl PartialEq for OsIpcSender
impl PartialEq for OsIpcSender
impl StructuralPartialEq for OsIpcSender
Auto Trait Implementations§
impl Freeze for OsIpcSender
impl !RefUnwindSafe for OsIpcSender
impl Send for OsIpcSender
impl !Sync for OsIpcSender
impl Unpin for OsIpcSender
impl UnwindSafe for OsIpcSender
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)