Struct framecodecs::fixed_length::FixedLengthProto [] [src]

pub struct FixedLengthProto {
    pub length: usize,
}

A protocol such that frames are continuous and have the same specified length.

Fields

Methods

impl FixedLengthProto
[src]

Trait Implementations

impl Debug for FixedLengthProto
[src]

Formats the value using the given formatter.

impl Clone for FixedLengthProto
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FixedLengthProto
[src]

impl PartialEq for FixedLengthProto
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FixedLengthProto
[src]

impl<T: Io + 'static> ServerProto<T> for FixedLengthProto
[src]

Request messages.

Response messages.

Errors produced by the service.

The message transport, which works with I/O objects of type T. Read more

A future for initializing a transport from an I/O object. Read more

Build a transport from the given I/O object, using self for any configuration. Read more

impl<T: Io + 'static> ClientProto<T> for FixedLengthProto
[src]

Request messages.

Response messages.

Errors produced by the service.

The message transport, which works with I/O objects of type T. Read more

A future for initializing a transport from an I/O object. Read more

Build a transport from the given I/O object, using self for any configuration. Read more