pub enum ClientConnection {
UnixSocket(UnixStream),
TcpPort(TcpStream),
Demux(BTreeMap<u32, ClientConnection>),
Merge(Vec<ClientConnection>),
Tagged(Box<ClientConnection>, u32),
Null,
}Variants§
UnixSocket(UnixStream)
TcpPort(TcpStream)
Demux(BTreeMap<u32, ClientConnection>)
Merge(Vec<ClientConnection>)
Tagged(Box<ClientConnection>, u32)
Null
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClientConnection
impl RefUnwindSafe for ClientConnection
impl Send for ClientConnection
impl Sync for ClientConnection
impl Unpin for ClientConnection
impl UnsafeUnpin for ClientConnection
impl UnwindSafe for ClientConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].