pub enum BoundConnection {
UnixSocket(JoinHandle<Result<UnixStream>>, TempDir),
TcpPort(TcpListenerStream, SocketAddr),
Demux(HashMap<u32, BoundConnection>),
Merge(Vec<BoundConnection>),
Tagged(Box<BoundConnection>, u32),
Null,
}
Variants§
UnixSocket(JoinHandle<Result<UnixStream>>, TempDir)
TcpPort(TcpListenerStream, SocketAddr)
Demux(HashMap<u32, BoundConnection>)
Merge(Vec<BoundConnection>)
Tagged(Box<BoundConnection>, u32)
Null
Implementations§
source§impl BoundConnection
impl BoundConnection
pub fn sink_port(&self) -> ServerPort
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BoundConnection
impl RefUnwindSafe for BoundConnection
impl Send for BoundConnection
impl Sync for BoundConnection
impl Unpin for BoundConnection
impl UnwindSafe for BoundConnection
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