Struct framecodecs::fixed_length::FixedLengthCodec [] [src]

pub struct FixedLengthCodec { /* fields omitted */ }

Protocol codec used by FixedLengthProto.

Methods

impl FixedLengthCodec
[src]

Trait Implementations

impl Debug for FixedLengthCodec
[src]

Formats the value using the given formatter.

impl Clone for FixedLengthCodec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Codec for FixedLengthCodec
[src]

The type of decoded frames.

The type of frames to be encoded.

Attempts to decode a frame from the provided buffer of bytes. Read more

Encodes a frame into the buffer provided. 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