[−][src]Struct in_stream::InStreamListenerTls
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 raw_bind<C: InStreamConfig>(url: &Url2, config: C) -> Result<Self>
[src]
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>
fn accept_std(&mut self) -> Result<Self::StreamStd>
[src]
Auto Trait Implementations
impl<Sub> RefUnwindSafe for InStreamListenerTls<Sub> where
Sub: RefUnwindSafe,
Sub: RefUnwindSafe,
impl<Sub> Send for InStreamListenerTls<Sub>
impl<Sub> Sync for InStreamListenerTls<Sub>
impl<Sub> Unpin for InStreamListenerTls<Sub> where
Sub: Unpin,
Sub: Unpin,
impl<Sub> UnwindSafe for InStreamListenerTls<Sub> where
Sub: UnwindSafe,
Sub: 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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,