Trait nom::AtEof [−][src]
indicates whether more data can come later in input
When working with complete data, like a file that was entirely loaded
in memory, you should use input types like CompleteByteSlice
and
CompleteStr
to wrap the data. The at_eof
method of those types
always returns true, thus indicating to nom that it should not handle
partial data cases.
When working will partial data, like data coming from the network in
buffers, the at_eof
method can indicate if we expect more data to come,
and let nom know that some parsers could still handle more data
Required Methods
Implementations on Foreign Types
impl<I: AtEof, T> AtEof for (I, T)
[src]
impl<I: AtEof, T> AtEof for (I, T)
impl<'a, T> AtEof for &'a [T]
[src]
impl<'a, T> AtEof for &'a [T]
impl<'a> AtEof for &'a str
[src]
impl<'a> AtEof for &'a str
Implementors
impl<'a> AtEof for CompleteStr<'a>
impl<'a> AtEof for CompleteByteSlice<'a>
impl<T> AtEof for Input<T>