Struct bytecodec::combinator::DecoderChain [] [src]

pub struct DecoderChain<D0: Decode, D1, T>(_, _);

Combinator for connecting decoders to a chain.

This is created by calling StartDecoderChain::chain or DecodeExt::chain methods.

Trait Implementations

impl<D0: Debug + Decode, D1: Debug, T: Debug> Debug for DecoderChain<D0, D1, T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<D> Decode for DecoderChain<StartDecoderChain, D, ()> where
    D: Decode
[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<D0, D1, T0> Decode for DecoderChain<D0, D1, (T0,)> where
    D0: Decode<Item = (T0,)>,
    D1: Decode
[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<D0, D1, T0, T1> Decode for DecoderChain<D0, D1, (T0, T1)> where
    D0: Decode<Item = (T0, T1)>,
    D1: Decode
[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<D0, D1, T0, T1, T2> Decode for DecoderChain<D0, D1, (T0, T1, T2)> where
    D0: Decode<Item = (T0, T1, T2)>,
    D1: Decode
[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<D0, D1, T0, T1, T2, T3> Decode for DecoderChain<D0, D1, (T0, T1, T2, T3)> where
    D0: Decode<Item = (T0, T1, T2, T3)>,
    D1: Decode
[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<D0, D1, T0, T1, T2, T3, T4> Decode for DecoderChain<D0, D1, (T0, T1, T2, T3, T4)> where
    D0: Decode<Item = (T0, T1, T2, T3, T4)>,
    D1: Decode
[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<D0, D1, T0, T1, T2, T3, T4, T5> Decode for DecoderChain<D0, D1, (T0, T1, T2, T3, T4, T5)> where
    D0: Decode<Item = (T0, T1, T2, T3, T4, T5)>,
    D1: Decode
[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<D0, D1, T0, T1, T2, T3, T4, T5, T6> Decode for DecoderChain<D0, D1, (T0, T1, T2, T3, T4, T5, T6)> where
    D0: Decode<Item = (T0, T1, T2, T3, T4, T5, T6)>,
    D1: Decode
[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<D0, D1, T> Send for DecoderChain<D0, D1, T> where
    D0: Send,
    D1: Send,
    T: Send,
    <D0 as Decode>::Item: Send

impl<D0, D1, T> Sync for DecoderChain<D0, D1, T> where
    D0: Sync,
    D1: Sync,
    T: Sync,
    <D0 as Decode>::Item: Sync