[][src]Struct postcard::flavors::HVec

pub struct HVec<B: ArrayLength<u8>>(_);

The HVec flavor is a wrapper type around a heapless::Vec. This is a stack allocated data structure, with a fixed maximum size and variable amount of contents.

Trait Implementations

impl<B: ArrayLength<u8>> Default for HVec<B>[src]

impl<B: ArrayLength<u8>> Index<usize> for HVec<B>[src]

type Output = u8

The returned type after indexing.

impl<B: ArrayLength<u8>> IndexMut<usize> for HVec<B>[src]

impl<'a, B> SerFlavor for HVec<B> where
    B: ArrayLength<u8>, 
[src]

type Output = Vec<u8, B>

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<B> RefUnwindSafe for HVec<B> where
    <B as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<B> Send for HVec<B>

impl<B> Sync for HVec<B>

impl<B> Unpin for HVec<B> where
    <B as ArrayLength<u8>>::ArrayType: Unpin

impl<B> UnwindSafe for HVec<B> where
    <B as ArrayLength<u8>>::ArrayType: 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> 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 = 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.