pub struct NBytes(pub usize);
Expand description
NBytes matches N bytes from the stream.
Tuple Fields§
§0: usize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NBytes
impl Send for NBytes
impl Sync for NBytes
impl Unpin for NBytes
impl UnwindSafe for NBytes
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