pub enum ServerStarterListener {
Tcp(TcpListener),
Uds(UnixListener),
}
Expand description
Kind of server starter listener
Variants§
Tcp(TcpListener)
Uds(UnixListener)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerStarterListener
impl RefUnwindSafe for ServerStarterListener
impl Send for ServerStarterListener
impl Sync for ServerStarterListener
impl Unpin for ServerStarterListener
impl UnwindSafe for ServerStarterListener
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