Struct parity_wasm::elements::CountedListWriter [] [src]

pub struct CountedListWriter<I: Serialize<Error = Error>, T: IntoIterator<Item = I>>(pub usize, pub T);

Helper struct to write series of T preceded by the length of the sequence serialized as VarUint32

Trait Implementations

impl<I: Debug + Serialize<Error = Error>, T: Debug + IntoIterator<Item = I>> Debug for CountedListWriter<I, T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<I: Clone + Serialize<Error = Error>, T: Clone + IntoIterator<Item = I>> Clone for CountedListWriter<I, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T>
[src]

Serialization error produced by serialization routine.

[src]

Serialize type to serial i/o

Auto Trait Implementations

impl<I, T> Send for CountedListWriter<I, T> where
    T: Send

impl<I, T> Sync for CountedListWriter<I, T> where
    T: Sync