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: Clone + Serialize<Error = Error>, T: Clone + IntoIterator<Item = I>> Clone for CountedListWriter<I, T>[src]

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

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

type Error = Error

Serialization error produced by serialization routine.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.