Struct protobuf_codec::field::UnknownFieldDecoder [] [src]

pub struct UnknownFieldDecoder(_);

Decoder for unknown fields.

This accepts any tags but the decoded values will be discarded.

Methods

impl UnknownFieldDecoder
[src]

[src]

Makes a new UnknownFieldDecoder instance.

Trait Implementations

impl Debug for UnknownFieldDecoder
[src]

[src]

Formats the value using the given formatter. Read more

impl Decode for UnknownFieldDecoder
[src]

The type of items to be decoded.

[src]

Consumes the given buffer (a part of a byte sequence), and proceeds the decoding process. Read more

[src]

Finishes the current decoding process and returns the decoded item. Read more

[src]

Returns true if there are no items to be decoded by the decoder at the next invocation of decode method, otherwise false. Read more

[src]

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

impl FieldDecode for UnknownFieldDecoder
[src]

[src]

Tries to start decoding a field. Read more

impl Default for UnknownFieldDecoder
[src]

[src]

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

Auto Trait Implementations