Struct bytecodec::value::NullDecoder [] [src]

pub struct NullDecoder;

NullDecoder always and immediately returns () as the decoded items.

Trait Implementations

impl Debug for NullDecoder
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for NullDecoder
[src]

[src]

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

impl Decode for NullDecoder
[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

Auto Trait Implementations

impl Send for NullDecoder

impl Sync for NullDecoder