Struct framecodecs::varint::VarIntLengthFieldProto [] [src]

pub struct VarIntLengthFieldProto;

A protocol such that every frame has length field prepended in Protobuf's base 128 varint.

Methods

impl VarIntLengthFieldProto
[src]

Trait Implementations

impl Debug for VarIntLengthFieldProto
[src]

Formats the value using the given formatter.

impl Clone for VarIntLengthFieldProto
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for VarIntLengthFieldProto
[src]

Returns the "default value" for a type. Read more

impl<T> ClientProto<T> for VarIntLengthFieldProto where T: Io + 'static
[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> ServerProto<T> for VarIntLengthFieldProto where T: Io + 'static
[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