[−][src]Struct ipc_channel::platform::OsIpcSender
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]
&self,
data: &[u8],
channels: Vec<OsIpcChannel>,
shared_memory_regions: Vec<OsIpcSharedMemory>
) -> Result<(), UnixError>
pub fn connect(name: String) -> Result<OsIpcSender, UnixError>
[src]
Trait Implementations
impl Clone for OsIpcSender
[src]
fn clone(&self) -> OsIpcSender
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OsIpcSender
[src]
impl PartialEq<OsIpcSender> for OsIpcSender
[src]
fn eq(&self, other: &OsIpcSender) -> bool
[src]
fn ne(&self, other: &OsIpcSender) -> bool
[src]
impl StructuralPartialEq for OsIpcSender
[src]
Auto Trait Implementations
impl !RefUnwindSafe for OsIpcSender
impl Send for OsIpcSender
impl !Sync for OsIpcSender
impl Unpin for OsIpcSender
impl UnwindSafe for OsIpcSender
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,