Struct bytecodec::tuple::Tuple8Encoder [] [src]

pub struct Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> { /* fields omitted */ }

Encoder for 8-elements tuples.

Methods

impl<E0, E1, E2, E3, E4, E5, E6, E7> Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> where
    E0: Encode,
    E1: Encode,
    E2: Encode,
    E3: Encode,
    E4: Encode,
    E5: Encode,
    E6: Encode,
    E7: Encode
[src]

[src]

Makes a new Tuple8Encoder instance.

[src]

Returns references to the inner decoders.

[src]

Returns mutable references to the inner decoders.

Trait Implementations

impl<E0: Debug, E1: Debug, E2: Debug, E3: Debug, E4: Debug, E5: Debug, E6: Debug, E7: Debug> Debug for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E0: Default, E1: Default, E2: Default, E3: Default, E4: Default, E5: Default, E6: Default, E7: Default> Default for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7>
[src]

[src]

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

impl<E0, E1, E2, E3, E4, E5, E6, E7> Encode for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> where
    E0: Encode,
    E1: Encode,
    E2: Encode,
    E3: Encode,
    E4: Encode,
    E5: Encode,
    E6: Encode,
    E7: Encode
[src]

The type of items to be encoded.

[src]

Encodes the items in the encoder and writes the encoded bytes to the given buffer. Read more

[src]

Tries to start encoding the given item. Read more

[src]

Returns the number of bytes required to encode all the items in the encoder. Read more

[src]

Returns true if there are no items to be encoded in the encoder, otherwise false.

impl<E0, E1, E2, E3, E4, E5, E6, E7> ExactBytesEncode for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> where
    E0: ExactBytesEncode,
    E1: ExactBytesEncode,
    E2: ExactBytesEncode,
    E3: ExactBytesEncode,
    E4: ExactBytesEncode,
    E5: ExactBytesEncode,
    E6: ExactBytesEncode,
    E7: ExactBytesEncode
[src]

[src]

Returns the exact number of bytes required to encode all the items remaining in the encoder.

Auto Trait Implementations

impl<E0, E1, E2, E3, E4, E5, E6, E7> Send for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> where
    E0: Send,
    E1: Send,
    E2: Send,
    E3: Send,
    E4: Send,
    E5: Send,
    E6: Send,
    E7: Send

impl<E0, E1, E2, E3, E4, E5, E6, E7> Sync for Tuple8Encoder<E0, E1, E2, E3, E4, E5, E6, E7> where
    E0: Sync,
    E1: Sync,
    E2: Sync,
    E3: Sync,
    E4: Sync,
    E5: Sync,
    E6: Sync,
    E7: Sync