pub struct ExtendFlavor<T> { /* private fields */ }Expand description
Wrapper over a core::iter::Extend<u8> that implements the flavor trait
Implementations§
Source§impl<T> ExtendFlavor<T>
 
impl<T> ExtendFlavor<T>
Sourcepub fn new(iter: T) -> Self
 
pub fn new(iter: T) -> Self
Create a new Self flavor from a given core::iter::Extend<u8>
Trait Implementations§
Source§impl<T> Flavor for ExtendFlavor<T>
 
impl<T> Flavor for ExtendFlavor<T>
Source§type Output = T
 
type Output = T
The 
Output type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.Source§fn try_push(&mut self, data: u8) -> Result<()>
 
fn try_push(&mut self, data: u8) -> Result<()>
Push a single byte to be modified and/or stored.
Auto Trait Implementations§
impl<T> Freeze for ExtendFlavor<T>where
    T: Freeze,
impl<T> RefUnwindSafe for ExtendFlavor<T>where
    T: RefUnwindSafe,
impl<T> Send for ExtendFlavor<T>where
    T: Send,
impl<T> Sync for ExtendFlavor<T>where
    T: Sync,
impl<T> Unpin for ExtendFlavor<T>where
    T: Unpin,
impl<T> UnwindSafe for ExtendFlavor<T>where
    T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more