[][src]Trait baffa::ReadBufExt

pub trait ReadBufExt: ReadBuf {
    fn read_value<T: Copy + Sized>(&mut self, val: &mut MaybeUninit<T>) -> usize { ... }
}

Extension trait to provide extra functionality

Provided methods

fn read_value<T: Copy + Sized>(&mut self, val: &mut MaybeUninit<T>) -> usize

Reads value into storage.

If not enough bytes, does nothing, returning 0

Loading content...

Implementors

impl<T: ReadBuf> ReadBufExt for T[src]

Loading content...