pub enum ServerTlsOption<A: TlsAcceptor> {
Plain,
Tls(Arc<A>),
}Variants§
Trait Implementations§
Source§impl<A: TlsAcceptor> Clone for ServerTlsOption<A>
impl<A: TlsAcceptor> Clone for ServerTlsOption<A>
Auto Trait Implementations§
impl<A> Freeze for ServerTlsOption<A>
impl<A> RefUnwindSafe for ServerTlsOption<A>where
A: RefUnwindSafe,
impl<A> Send for ServerTlsOption<A>
impl<A> Sync for ServerTlsOption<A>
impl<A> Unpin for ServerTlsOption<A>
impl<A> UnsafeUnpin for ServerTlsOption<A>
impl<A> UnwindSafe for ServerTlsOption<A>where
A: RefUnwindSafe,
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