Struct stream_inmemory::Reader [−][src]
pub struct Reader<'a> { /* fields omitted */ }Expand description
Reader for inmemory stream
Implementations
Peek one byte from stream, position don’t shift.
Can return EOF error.
Peek bytes from stream, position don’t shift.
Can return EOF, ZeroLength errors.
Read one byte from stream, position shifted.
Can return EOF error.
Read bytes from stream, position shifted.
Can return EOF, ZeroLength errors.
Skip “count” bytes in stream. Return skipped bytes count.
Clear bytes that have been read. Has no effect on the allocated capacity.
Truncate the capacity of the stream as much as possible.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Reader<'a>impl<'a> !UnwindSafe for Reader<'a>