pub struct Parser<F: Read + Seek> { /* private fields */ }
Implementations§
Source§impl<F> Parser<F>
impl<F> Parser<F>
pub fn new(handle: Box<F>) -> Self
pub fn read_fileblock( &mut self, offset: u64, ) -> Result<(u64, BlobHeader, Blob), Error>
pub fn read_blob_header( &mut self, offset: u64, ) -> Result<(u64, BlobHeader), Error>
pub fn read_blob(&mut self, offset: u64, len: usize) -> Result<Blob, Error>
pub fn read(&mut self, offset: u64) -> Result<(u64, Vec<Element>), Error>
Auto Trait Implementations§
impl<F> Freeze for Parser<F>
impl<F> RefUnwindSafe for Parser<F>where
F: RefUnwindSafe,
impl<F> Send for Parser<F>where
F: Send,
impl<F> Sync for Parser<F>where
F: Sync,
impl<F> Unpin for Parser<F>
impl<F> UnwindSafe for Parser<F>where
F: UnwindSafe,
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