[−][src]Struct twitchchat::connector::async_io::ConnectorTls
This is supported on crate feature
async
only.A async_io
connector that uses async-tls
(a rustls
wrapper). This uses TLS.
Implementations
impl ConnectorTls
[src]
pub fn twitch() -> Result<Self>
[src]
Create a new
async_io
TLS connector that connects to the default Twitch address.
pub fn custom<A, D>(addrs: A, domain: D) -> Result<Self> where
A: ToSocketAddrs,
D: Into<String>,
[src]
A: ToSocketAddrs,
D: Into<String>,
Create a new
async_io
TLS connector with a custom address and TLS domain.
Trait Implementations
impl Clone for ConnectorTls
[src]
fn clone(&self) -> ConnectorTls
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Connector for ConnectorTls
[src]
type Output = Mutex<TlsStream<Async<TcpStream>>>
Output IO type returned by calling connect
Read more
fn connect(&mut self) -> BoxedFuture<Result<Self::Output>>
[src]
impl Debug for ConnectorTls
[src]
impl PartialEq<ConnectorTls> for ConnectorTls
[src]
fn eq(&self, other: &ConnectorTls) -> bool
[src]
fn ne(&self, other: &ConnectorTls) -> bool
[src]
impl StructuralPartialEq for ConnectorTls
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectorTls
impl Send for ConnectorTls
impl Sync for ConnectorTls
impl Unpin for ConnectorTls
impl UnwindSafe for ConnectorTls
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
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>,