Struct protobuf_codec::message::MessageDecoder [] [src]

pub struct MessageDecoder<F> { /* fields omitted */ }

Decoder for messages.

Methods

impl<F: FieldDecode> MessageDecoder<F>
[src]

[src]

Makes a new MessageDecoder instance.

Trait Implementations

impl<F: Debug> Debug for MessageDecoder<F>
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Default> Default for MessageDecoder<F>
[src]

[src]

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

impl<F: FieldDecode> Decode for MessageDecoder<F>
[src]

The type of items to be decoded.

[src]

Consumes the given buffer (a part of a byte sequence), and decodes an item from it. Read more

[src]

Returns the lower bound of the number of bytes needed to decode the next item. Read more

impl<F: FieldDecode> MessageDecode for MessageDecoder<F>
[src]

[src]

Merges duplicate messages.

Auto Trait Implementations

impl<F> Send for MessageDecoder<F> where
    F: Send

impl<F> Sync for MessageDecoder<F> where
    F: Sync