Struct bytecodec::tuple::TupleDecoder [] [src]

pub struct TupleDecoder<D> { /* fields omitted */ }

Decoder for tuples.

Methods

impl<D> TupleDecoder<D>
[src]

[src]

Makes a new TupleDecoder.

Important traits for &'a mut W
[src]

Returns a reference to the inner decoders.

Important traits for &'a mut W
[src]

Returns a mutable reference to the inner decoders.

[src]

Takes ownership of this instance and returns the inner decoders.

Trait Implementations

impl<D: Debug> Debug for TupleDecoder<D>
[src]

[src]

Formats the value using the given formatter. Read more

impl<D: Default> Default for TupleDecoder<D>
[src]

[src]

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

impl<D0, D1> Decode for TupleDecoder<(D0, D1)> where
    D0: Decode,
    D1: Decode
[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<D0, D1, D2> Decode for TupleDecoder<(D0, D1, D2)> where
    D0: Decode,
    D1: Decode,
    D2: Decode
[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<D0, D1, D2, D3> Decode for TupleDecoder<(D0, D1, D2, D3)> where
    D0: Decode,
    D1: Decode,
    D2: Decode,
    D3: Decode
[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<D0, D1, D2, D3, D4> Decode for TupleDecoder<(D0, D1, D2, D3, D4)> where
    D0: Decode,
    D1: Decode,
    D2: Decode,
    D3: Decode,
    D4: Decode
[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<D0, D1, D2, D3, D4, D5> Decode for TupleDecoder<(D0, D1, D2, D3, D4, D5)> where
    D0: Decode,
    D1: Decode,
    D2: Decode,
    D3: Decode,
    D4: Decode,
    D5: Decode
[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<D0, D1, D2, D3, D4, D5, D6> Decode for TupleDecoder<(D0, D1, D2, D3, D4, D5, D6)> where
    D0: Decode,
    D1: Decode,
    D2: Decode,
    D3: Decode,
    D4: Decode,
    D5: Decode,
    D6: Decode
[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<D0, D1, D2, D3, D4, D5, D6, D7> Decode for TupleDecoder<(D0, D1, D2, D3, D4, D5, D6, D7)> where
    D0: Decode,
    D1: Decode,
    D2: Decode,
    D3: Decode,
    D4: Decode,
    D5: Decode,
    D6: Decode,
    D7: Decode
[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

Auto Trait Implementations

impl<D> Send for TupleDecoder<D> where
    D: Send

impl<D> Sync for TupleDecoder<D> where
    D: Sync