Struct sirpent::net::MsgCodec [] [src]

pub struct MsgCodec;

Trait Implementations

impl Clone for MsgCodec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MsgCodec
[src]

impl Debug for MsgCodec
[src]

Formats the value using the given formatter.

impl Decoder for MsgCodec
[src]

The type of decoded frames.

The type of unrecoverable frame decoding errors. Read more

Attempts to decode a frame from the provided buffer of bytes. 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

impl Encoder for MsgCodec
[src]

The type of items consumed by the Encoder

The type of encoding errors. Read more

Encodes a frame into the buffer provided. Read more