[][src]Struct in_stream::InStreamListenerTls

pub struct InStreamListenerTls<Sub: InStreamListenerStd> { /* fields omitted */ }

bind to a network interface to listen for TLS connections

Methods

impl<Sub: InStreamListenerStd> InStreamListenerTls<Sub>[src]

pub fn bind(url: &Url2, config: TlsBindConfig) -> Result<Self>[src]

Trait Implementations

impl<Sub: InStreamListenerStd> Debug for InStreamListenerTls<Sub>[src]

impl<'_, '_, Sub: InStreamListenerStd> InStreamListener<&'_ mut [u8], &'_ [u8]> for InStreamListenerTls<Sub>[src]

type Stream = InStreamTls<Sub::StreamStd>

fn binding(&self) -> Url2[src]

get our bound address

fn accept(&mut self) -> Result<Self::Stream>[src]

accept an incoming connection

impl<Sub: InStreamListenerStd> InStreamListenerStd for InStreamListenerTls<Sub>[src]

type StreamStd = InStreamTls<Sub::StreamStd>

Auto Trait Implementations

impl<Sub> RefUnwindSafe for InStreamListenerTls<Sub> where
    Sub: RefUnwindSafe

impl<Sub> Send for InStreamListenerTls<Sub>

impl<Sub> Sync for InStreamListenerTls<Sub>

impl<Sub> Unpin for InStreamListenerTls<Sub> where
    Sub: Unpin

impl<Sub> UnwindSafe for InStreamListenerTls<Sub> where
    Sub: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,