Struct zellij_utils::ipc::IpcSenderWithContext [−][src]
pub struct IpcSenderWithContext<T: Serialize> { /* fields omitted */ }
Expand description
Sends messages on a stream socket, along with an ErrorContext
.
Implementations
Returns a sender to the given LocalSocketStream.
Sends an event, along with the current ErrorContext
, on this IpcSenderWithContext
’s socket.
pub fn get_receiver<F>(&self) -> IpcReceiverWithContext<F> where
F: for<'de> Deserialize<'de> + Serialize,
[src]
pub fn get_receiver<F>(&self) -> IpcReceiverWithContext<F> where
F: for<'de> Deserialize<'de> + Serialize,
[src]Returns an IpcReceiverWithContext
with the same socket as this sender.
Auto Trait Implementations
impl<T> RefUnwindSafe for IpcSenderWithContext<T> where
T: RefUnwindSafe,
impl<T> Send for IpcSenderWithContext<T> where
T: Send,
impl<T> Sync for IpcSenderWithContext<T> where
T: Sync,
impl<T> Unpin for IpcSenderWithContext<T> where
T: Unpin,
impl<T> UnwindSafe for IpcSenderWithContext<T> where
T: UnwindSafe,