pub struct Reader<R: ?Sized + Read> { /* private fields */ }
Implementations§
Source§impl<R: ?Sized + Read> Reader<R>
impl<R: ?Sized + Read> Reader<R>
pub fn read_header(&mut self) -> Result<Header>
pub fn skip_header(&mut self) -> Result<()>
pub fn read_instruction(&mut self) -> Result<Option<RawInstruction>>
Auto Trait Implementations§
impl<R> Freeze for Reader<R>
impl<R> RefUnwindSafe for Reader<R>where
R: RefUnwindSafe + ?Sized,
impl<R> Send for Reader<R>
impl<R> Sync for Reader<R>
impl<R> Unpin for Reader<R>
impl<R> UnwindSafe for Reader<R>where
R: UnwindSafe + ?Sized,
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