Trait sqlite3_parser::lexer::Input[][src]

pub trait Input: Debug {
    fn fill_buf(&mut self) -> Result<()>;
fn eof(&self) -> bool;
fn consume(&mut self, amount: usize);
fn buffer(&self) -> &[u8];
fn is_empty(&self) -> bool;
fn len(&self) -> usize; }

Required methods

fn fill_buf(&mut self) -> Result<()>[src]

fn eof(&self) -> bool[src]

fn consume(&mut self, amount: usize)[src]

fn buffer(&self) -> &[u8][src]

fn is_empty(&self) -> bool[src]

fn len(&self) -> usize[src]

Loading content...

Implementations on Foreign Types

impl Input for &[u8][src]

Memory input

Loading content...

Implementors

impl<R: Read> Input for InputStream<R>[src]

Loading content...