[][src]Struct ws_stream_endpoint::Endpoint

pub struct Endpoint { /* fields omitted */ }

Methods

impl Endpoint[src]

pub fn pair(a_buf: usize, b_buf: usize) -> (Endpoint, Endpoint)[src]

Create a pair of endpoints, specifying the buffer size for each one. The buffer size corresponds to the buffer the respective endpoint writes to. The other will read from this one.

Trait Implementations

impl Drop for Endpoint[src]

impl Debug for Endpoint[src]

impl Read for Endpoint[src]

impl Write for Endpoint[src]

impl AsyncWrite for Endpoint[src]

impl AsyncRead for Endpoint[src]

Auto Trait Implementations

impl Send for Endpoint

impl Unpin for Endpoint

impl Sync for Endpoint

impl !UnwindSafe for Endpoint

impl !RefUnwindSafe for Endpoint

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<R> ReadBytesExt for R where
    R: Read + ?Sized

impl<W> WriteBytesExt for W where
    W: Write + ?Sized