[−][src]Struct samotop_core::service::tcp::tls::TlsEnabled
Dummy TCP service for testing samotop server
Implementations
impl<T> TlsEnabled<T, TlsDisabled>
[src]
impl<T, P> TlsEnabled<T, P>
[src]
pub fn yes(wrapped: T, provider: P) -> Self
[src]
pub fn no(wrapped: T) -> Self
[src]
pub fn new(wrapped: T, provider: Option<P>) -> Self
[src]
Trait Implementations
impl<T: Clone, P: Clone> Clone for TlsEnabled<T, P>
[src]
fn clone(&self) -> TlsEnabled<T, P>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, IO, P> TcpService<IO> for TlsEnabled<T, P> where
T: TcpService<TlsCapable<IO, P>>,
IO: Read + Write + Unpin,
P: TlsProvider<IO>,
[src]
T: TcpService<TlsCapable<IO, P>>,
IO: Read + Write + Unpin,
P: TlsProvider<IO>,
Auto Trait Implementations
impl<T, P> RefUnwindSafe for TlsEnabled<T, P> where
P: RefUnwindSafe,
T: RefUnwindSafe,
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, P> Send for TlsEnabled<T, P> where
P: Send,
T: Send,
P: Send,
T: Send,
impl<T, P> Sync for TlsEnabled<T, P> where
P: Sync,
T: Sync,
P: Sync,
T: Sync,
impl<T, P> Unpin for TlsEnabled<T, P> where
P: Unpin,
T: Unpin,
P: Unpin,
T: Unpin,
impl<T, P> UnwindSafe for TlsEnabled<T, P> where
P: UnwindSafe,
T: UnwindSafe,
P: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,