pub struct BytesReader<'a> { /* private fields */ }Implementations§
Source§impl<'a> BytesReader<'a>
impl<'a> BytesReader<'a>
Trait Implementations§
Source§impl<'a> BufferReader<'a> for BytesReader<'a>
impl<'a> BufferReader<'a> for BytesReader<'a>
fn peek(&self) -> Option<u8>
fn next(&mut self) -> Option<u8>
fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), DecodeError>
fn remaining(&self) -> &'a [u8] ⓘ
fn advance(&mut self, n: usize) -> Result<(), DecodeError>
fn check_alloc(&mut self, _n: usize) -> Result<(), DecodeError>
fn depth_enter(&mut self) -> Result<(), DecodeError>
fn depth_exit(&mut self)
Source§impl<'a> Clone for BytesReader<'a>
impl<'a> Clone for BytesReader<'a>
Source§fn clone(&self) -> BytesReader<'a>
fn clone(&self) -> BytesReader<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for BytesReader<'a>
impl<'a> RefUnwindSafe for BytesReader<'a>
impl<'a> Send for BytesReader<'a>
impl<'a> Sync for BytesReader<'a>
impl<'a> Unpin for BytesReader<'a>
impl<'a> UnsafeUnpin for BytesReader<'a>
impl<'a> UnwindSafe for BytesReader<'a>
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