pub struct DumpParser<R: BufRead> { /* private fields */ }
Implementations§
Source§impl<R: BufRead> DumpParser<R>
impl<R: BufRead> DumpParser<R>
pub fn new(reader: R) -> Result<Self, ParsingError>
pub fn site_info(&self) -> &SiteInfo
pub fn bytes_consumed(&self) -> u64
pub fn parse_page(&mut self) -> Result<Option<Page>, ParsingError>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for DumpParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for DumpParser<R>where
R: RefUnwindSafe,
impl<R> Send for DumpParser<R>where
R: Send,
impl<R> Sync for DumpParser<R>where
R: Sync,
impl<R> Unpin for DumpParser<R>where
R: Unpin,
impl<R> UnwindSafe for DumpParser<R>where
R: 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