[][src]Struct unix_ipc::Sender

pub struct Sender<T> { /* fields omitted */ }

A typed sender.

Methods

impl<T: Serialize + DeserializeOwned> Sender<T>[src]

pub fn into_raw_sender(self) -> RawSender[src]

Converts the typed sender into a raw one.

pub fn send(&self, s: T) -> Result<()>[src]

Receives a structured message from the socket.

Trait Implementations

impl<T> AsRawFd for Sender<T>[src]

impl<T> Debug for Sender<T>[src]

impl<'de, T: Serialize + DeserializeOwned> Deserialize<'de> for Sender<T>[src]

impl<T: Serialize + DeserializeOwned> From<RawSender> for Sender<T>[src]

impl<T: Serialize + DeserializeOwned> FromRawFd for Sender<T>[src]

impl<T> IntoRawFd for Sender<T>[src]

impl<T: Serialize + DeserializeOwned> Serialize for Sender<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Sender<T> where
    T: RefUnwindSafe

impl<T> Send for Sender<T> where
    T: Send

impl<T> Sync for Sender<T> where
    T: Sync

impl<T> Unpin for Sender<T> where
    T: Unpin

impl<T> UnwindSafe for Sender<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,