Enum hydro::core::ServerStrategy
source · pub enum ServerStrategy {
UnixSocket,
InternalTcpPort,
ExternalTcpPort(u16),
Demux(HashMap<u32, ServerStrategy>),
Merge(Vec<ServerStrategy>),
Tagged(Box<ServerStrategy>, u32),
Null,
}Expand description
Types of connections that a host can make to another host.
Variants§
UnixSocket
InternalTcpPort
ExternalTcpPort(u16)
Demux(HashMap<u32, ServerStrategy>)
Merge(Vec<ServerStrategy>)
Tagged(Box<ServerStrategy>, u32)
Null
Auto Trait Implementations§
impl RefUnwindSafe for ServerStrategy
impl Send for ServerStrategy
impl Sync for ServerStrategy
impl Unpin for ServerStrategy
impl UnwindSafe for ServerStrategy
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