Struct scylladb_parse::StatementStream
source · [−]pub struct StatementStream<'a> { /* private fields */ }Implementations
sourceimpl<'a> StatementStream<'a>
impl<'a> StatementStream<'a>
pub fn new(statement: &'a str) -> Self
pub fn push_ordered_tag(&mut self, tag: TokenStream)
pub fn insert_keyed_tag(&mut self, key: String, tag: TokenStream)
pub fn info(&self) -> StreamInfo
pub fn current_pos(&self) -> usize
pub fn remaining(&self) -> usize
pub fn nremaining(&self, n: usize) -> bool
pub fn peek(&mut self) -> Option<char>
pub fn peekn(&mut self, n: usize) -> Option<String>
pub fn check<P: 'static + Parse>(&self) -> bool where
P::Output: 'static + Clone,
pub fn find<P: 'static + Parse<Output = P> + Clone>(&self) -> Option<P>
pub fn find_from<P: 'static + Parse>(&self) -> Option<P::Output> where
P::Output: 'static + Clone,
pub fn parse<P: 'static + Parse<Output = P> + Clone>(&mut self) -> Result<P>
pub fn parse_from<P: 'static + Parse>(&mut self) -> Result<P::Output> where
P::Output: 'static + Clone,
Trait Implementations
sourceimpl<'a> Clone for StatementStream<'a>
impl<'a> Clone for StatementStream<'a>
sourcefn clone(&self) -> StatementStream<'a>
fn clone(&self) -> StatementStream<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for StatementStream<'a>
impl<'a> !Send for StatementStream<'a>
impl<'a> !Sync for StatementStream<'a>
impl<'a> Unpin for StatementStream<'a>
impl<'a> !UnwindSafe for StatementStream<'a>
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