Struct nom::FileProducer [] [src]

pub struct FileProducer {
    // some fields omitted
}

Methods

impl FileProducer
[src]

Resize the internal buffer, copy the data to the new one and returned how much data was copied

If the new buffer is smaller, the prefix will be copied, and the rest of the data will be dropped

Trait Implementations

impl Debug for FileProducer
[src]

Formats the value using the given formatter.

impl<'x> Producer<'x, &'x [u8]Move> for FileProducer
[src]

Applies a consumer once on the produced data, and return the consumer's state Read more

Applies a consumer once on the produced data, and returns the generated value if there is one