pub enum TcpSecurity {
Plain,
Rustls(Arc<ServerConfig>),
}Variants§
Plain
Rustls(Arc<ServerConfig>)
Auto Trait Implementations§
impl !RefUnwindSafe for TcpSecurity
impl !UnwindSafe for TcpSecurity
impl Freeze for TcpSecurity
impl Send for TcpSecurity
impl Sync for TcpSecurity
impl Unpin for TcpSecurity
impl UnsafeUnpin for TcpSecurity
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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