Struct websocat::trivial_peer::DevNull[][src]

pub struct DevNull;

Trait Implementations

impl AsyncRead for DevNull[src]

impl AsyncWrite for DevNull[src]

impl Read for DevNull[src]

impl Write for DevNull[src]

Auto Trait Implementations

impl RefUnwindSafe for DevNull

impl Send for DevNull

impl Sync for DevNull

impl Unpin for DevNull

impl UnwindSafe for DevNull

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Erased for T

impl<T> From<T> for T[src]

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

impl<S> IntoWs for S where
    S: Stream + Send + 'static, 
[src]

type Stream = S

The type of stream this upgrade process is working with (TcpStream, etc.)

type Error = (S, Option<Incoming<(Method, RequestUri)>>, BytesMut, HyperIntoWsError)

An error value in case the stream is not asking for a websocket connection or something went wrong. It is common to also include the stream here. Read more

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<S> Stream for S where
    S: Read + Write
[src]

impl<S> Stream for S where
    S: AsyncRead + AsyncWrite
[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> Typeable for T where
    T: Any

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