[][src]Struct twitchchat::irc::TcpConn

pub struct TcpConn;

A simple Read/Write provider that uses a TcpStream

Methods

impl TcpConn[src]

pub fn connect(
    config: &UserConfig
) -> Result<Client<TcpStream, TcpStream>, Error>
[src]

Connects to the non-TLS Twitch irc endpoint and registering with UserConfig

Auto Trait Implementations

impl Send for TcpConn

impl Sync for TcpConn

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T