[][src]Struct ringbahn::net::TcpStream

pub struct TcpStream<D: Drive = DemoDriver<'static>> { /* fields omitted */ }

Implementations

impl TcpStream[src]

pub fn connect<A: ToSocketAddrs>(addr: A) -> Connect[src]

impl<D: Drive + Clone> TcpStream<D>[src]

pub fn connect_on_driver<A: ToSocketAddrs>(addr: A, driver: D) -> Connect<D>[src]

Trait Implementations

impl<D: Drive> AsyncBufRead for TcpStream<D>[src]

impl<D: Drive> AsyncRead for TcpStream<D>[src]

impl<D: Drive> AsyncWrite for TcpStream<D>[src]

Auto Trait Implementations

impl<D = DemoDriver<'static>> !RefUnwindSafe for TcpStream<D>

impl<D> Send for TcpStream<D> where
    D: Send

impl<D> Sync for TcpStream<D> where
    D: Sync

impl<D> Unpin for TcpStream<D> where
    D: Unpin

impl<D = DemoDriver<'static>> !UnwindSafe for TcpStream<D>

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, 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.