[][src]Struct ipc_channel::platform::OsIpcSender

pub struct OsIpcSender { /* fields omitted */ }

Methods

impl OsIpcSender[src]

pub fn get_max_fragment_size() -> usize[src]

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>
[src]

pub fn connect(name: String) -> Result<OsIpcSender, UnixError>[src]

Trait Implementations

impl Clone for OsIpcSender[src]

impl PartialEq<OsIpcSender> for OsIpcSender[src]

impl Debug for OsIpcSender[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,