pub struct ProofReader<Source, Int> { /* private fields */ }Expand description
A parser of DRCP proofs. See module documentation on crate::reader for examples on how to
use it.
Implementations§
Source§impl<Source, Int> ProofReader<Source, Int>
impl<Source, Int> ProofReader<Source, Int>
Sourcepub fn new(source: Source) -> Self
pub fn new(source: Source) -> Self
Create a new ProofReader.
Note that ProofReader::next_step is only implemented for sources that implement
io::BufRead. It is up to the user to set up the buffered reader.
Trait Implementations§
Auto Trait Implementations§
impl<Source, Int> Freeze for ProofReader<Source, Int>where
Source: Freeze,
impl<Source, Int> RefUnwindSafe for ProofReader<Source, Int>where
Source: RefUnwindSafe,
Int: RefUnwindSafe,
impl<Source, Int> !Send for ProofReader<Source, Int>
impl<Source, Int> !Sync for ProofReader<Source, Int>
impl<Source, Int> Unpin for ProofReader<Source, Int>where
Source: Unpin,
impl<Source, Int> UnwindSafe for ProofReader<Source, Int>where
Source: UnwindSafe,
Int: RefUnwindSafe,
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