pub enum Accepter {
TcpListener(Arc<TcpListener>),
RustTlsTcpListener(Arc<TlsAcceptor>, Arc<TcpListener>),
}Variants§
TcpListener(Arc<TcpListener>)
RustTlsTcpListener(Arc<TlsAcceptor>, Arc<TcpListener>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Accepter
impl !UnwindSafe for Accepter
impl Freeze for Accepter
impl Send for Accepter
impl Sync for Accepter
impl Unpin for Accepter
impl UnsafeUnpin for Accepter
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