Struct tls_api_not_tls::TlsConnector [−][src]
Trait Implementations
impl TlsConnector for TlsConnector
[src]
type Builder = TlsConnectorBuilder
Type of the builder for this connector.
const IMPLEMENTED: bool
[src]
const SUPPORTS_ALPN: bool
[src]
type Underlying = ()
Type of the underlying connector.
type TlsStream = TlsStream<AsyncSocketBox>
crate::TlsStream<tls_api::AsyncSocketBox>
. Read more
fn underlying_mut(&mut self) -> &mut Self::Underlying
[src]
fn info() -> ImplInfo
[src]
fn builder() -> Result<TlsConnectorBuilder>
[src]
fn connect_with_socket<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
[src]
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
fn connect_impl_tls_stream<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
[src]
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
pub const TYPE_DYN: &'static (dyn TlsConnectorType + 'static)
[src]
pub fn into_dyn(self) -> TlsConnectorBox
[src]
pub fn connect_default<S>(
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
[src]
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
pub fn connect<S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
[src]
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
Auto Trait Implementations
impl RefUnwindSafe for TlsConnector
[src]
impl Send for TlsConnector
[src]
impl Sync for TlsConnector
[src]
impl Unpin for TlsConnector
[src]
impl UnwindSafe for TlsConnector
[src]
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,
pub 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, 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.
pub 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>,