[][src]Struct postcard::flavors::StdVec

pub struct StdVec(pub Vec<u8>);

The StdVec flavor is a wrapper type around a std::vec::Vec.

This type is only available when the (non-default) use-std feature is active

Trait Implementations

impl Index<usize> for StdVec[src]

type Output = u8

The returned type after indexing.

impl IndexMut<usize> for StdVec[src]

impl SerFlavor for StdVec[src]

type Output = Vec<u8>

The Output type is what this flavor "resolves" to when the serialization is complete. For storage flavors, this is typically a concrete type. For modification flavors, this is typically a generic parameter for the storage flavor they are wrapped around. Read more

Auto Trait Implementations

impl RefUnwindSafe for StdVec

impl Send for StdVec

impl Sync for StdVec

impl Unpin for StdVec

impl UnwindSafe for StdVec

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> Same<T> for T

type Output = T

Should always be Self

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

type Error = !

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.