Trait SendHalf

Source
pub trait SendHalf:
    Sized
    + Write
    + RefWrite
    + Sealed {
    type Stream: Stream;
}
Expand description

Send halves of Streams, obtained through .split().

Types on which this trait is implemented are variants of the SendHalf enum. In addition, it is implemented on SendHalf itself, which makes it a trait object of sorts.

Required Associated Types§

Source

type Stream: Stream

The stream type the half is split from.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl SendHalf for interprocess::local_socket::SendHalf

Source§

impl SendHalf for interprocess::os::unix::uds_local_socket::SendHalf