[][src]Struct websocket_lite::MessageCodec

pub struct MessageCodec { /* fields omitted */ }

Tokio codec for WebSocket messages. This codec can send and receive Message structs.

A codec is part of the Framed struct returned by ClientBuilder. You don't need to create one of these manually.

Trait Implementations

impl Decoder for MessageCodec
[src]

The type of decoded frames.

The type of unrecoverable frame decoding errors. Read more

A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more

Provides a Stream and Sink interface for reading and writing to this Io object, using Decode and Encode to read and write the raw data. Read more

impl Encoder for MessageCodec
[src]

The type of items consumed by the Encoder

The type of encoding errors. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

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]

🔬 This is a nightly-only experimental API. (try_from)

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