Struct sqlite3_parser::lexer::Scanner
source · [−]Expand description
Like a BufReader but with a growable buffer.
Successive calls to the scan method will step through the ‘tokens’
of a file, skipping the bytes between the tokens.
Scanning stops unrecoverably at EOF, the first I/O error, or a token too large to fit in the buffer. When a scan stops, the reader may have advanced arbitrarily far past the last token.
Implementations
sourceimpl<I: Input, S: Splitter> Scanner<I, S>
impl<I: Input, S: Splitter> Scanner<I, S>
Trait Implementations
Auto Trait Implementations
impl<I, S> RefUnwindSafe for Scanner<I, S> where
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<I, S> Send for Scanner<I, S> where
I: Send,
S: Send,
impl<I, S> Sync for Scanner<I, S> where
I: Sync,
S: Sync,
impl<I, S> Unpin for Scanner<I, S> where
I: Unpin,
S: Unpin,
impl<I, S> UnwindSafe for Scanner<I, S> where
I: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more