Struct bytecodec::bincode_codec::BincodeDecoder [] [src]

pub struct BincodeDecoder<T>(_)
where
    T: for<'de> Deserialize<'de>
;

Bincode decoder.

Note that this decodes items monolithically so very large items may impair real-time property of the system.

Methods

impl<T> BincodeDecoder<T> where
    T: for<'de> Deserialize<'de>, 
[src]

[src]

Makes a new BincodeDecoder instance.

Trait Implementations

impl<T: Debug> Debug for BincodeDecoder<T> where
    T: for<'de> Deserialize<'de>, 
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Decode for BincodeDecoder<T> where
    T: for<'de> Deserialize<'de>, 
[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 the lower bound of the number of bytes needed to decode the next 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

impl<T> Default for BincodeDecoder<T> where
    T: for<'de> Deserialize<'de>, 
[src]

[src]

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

Auto Trait Implementations

impl<T> Send for BincodeDecoder<T> where
    T: Send

impl<T> Sync for BincodeDecoder<T> where
    T: Sync