[−][src]Trait varnishslog::stream_buf::StreamBuf
Required methods
fn fill(&mut self, min_count: usize) -> Result<(), FillError>
fn relocate(&mut self)
fn consume(&mut self, count: usize)
fn data(&self) -> &[O]
fn needed(&self) -> Option<Needed>
fn apply<'b, C, CO, E>(
&'b self,
combinator: C
) -> Result<Option<CO>, Err<&'b [O], E>> where
O: 'b,
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,
&'b self,
combinator: C
) -> Result<Option<CO>, Err<&'b [O], E>> where
O: 'b,
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,
Provided methods
fn fill_apply<'b, C, CO, E>(
&'b mut self,
combinator: C
) -> Result<Option<CO>, FillApplyError<&'b [O], E>> where
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,
&'b mut self,
combinator: C
) -> Result<Option<CO>, FillApplyError<&'b [O], E>> where
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,
Implementors
impl<R: Read> StreamBuf<u8> for ReadStreamBuf<R>
[src]
fn fill(&mut self, min_bytes: usize) -> Result<(), FillError>
[src]
fn relocate(&mut self)
[src]
fn consume(&mut self, bytes: usize)
[src]
fn data(&self) -> &[u8]
[src]
fn needed(&self) -> Option<Needed>
[src]
fn apply<'b, C, CO, E>(
&'b self,
combinator: C
) -> Result<Option<CO>, Err<&'b [u8], E>> where
C: Fn(&'b [u8]) -> IResult<&'b [u8], CO, E>,
[src]
&'b self,
combinator: C
) -> Result<Option<CO>, Err<&'b [u8], E>> where
C: Fn(&'b [u8]) -> IResult<&'b [u8], CO, E>,
fn fill_apply<'b, C, CO, E>(
&'b mut self,
combinator: C
) -> Result<Option<CO>, FillApplyError<&'b [O], E>> where
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,
[src]
&'b mut self,
combinator: C
) -> Result<Option<CO>, FillApplyError<&'b [O], E>> where
C: Fn(&'b [O]) -> IResult<&'b [O], CO, E>,