pub enum RealizedServerPort {
UnixSocket(JoinHandle<Result<UnixStream>>),
TcpPort(JoinHandle<Result<TcpStream>>),
Demux(HashMap<u32, RealizedServerPort>),
Merge(Vec<RealizedServerPort>),
Tagged(Box<RealizedServerPort>, u32),
Null,
}
Variants§
UnixSocket(JoinHandle<Result<UnixStream>>)
TcpPort(JoinHandle<Result<TcpStream>>)
Demux(HashMap<u32, RealizedServerPort>)
Merge(Vec<RealizedServerPort>)
Tagged(Box<RealizedServerPort>, u32)
Null
Trait Implementations§
source§impl Debug for RealizedServerPort
impl Debug for RealizedServerPort
source§impl From<&ServerPort> for RealizedServerPort
impl From<&ServerPort> for RealizedServerPort
source§fn from(port: &ServerPort) -> Self
fn from(port: &ServerPort) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealizedServerPort
impl RefUnwindSafe for RealizedServerPort
impl Send for RealizedServerPort
impl Sync for RealizedServerPort
impl Unpin for RealizedServerPort
impl UnwindSafe for RealizedServerPort
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