Expand description
Wrapper around an input buffer.
Bytes will be read starting at src[pos]
.
pos
will be updated after reading.
Fields
src: &'a [u8]
pos: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for InBuffer<'a>
impl<'a> Send for InBuffer<'a>
impl<'a> Sync for InBuffer<'a>
impl<'a> Unpin for InBuffer<'a>
impl<'a> UnwindSafe for InBuffer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more