[−][src]Struct combine_elastic_buffered_stream::ElasticBufferedReadStream
Methods
impl<R: Read> ElasticBufferedReadStream<R>
[src]
pub fn new(read: R) -> Self
[src]
pub fn buffer_len(&self) -> usize
[src]
Trait Implementations
impl<R: Read> StreamOnce for ElasticBufferedReadStream<R>
[src]
type Item = u8
The type of items which is yielded from this stream.
type Range = u8
The type of a range of items yielded from this stream. Types which do not a have a way of yielding ranges of items should just use the Self::Item
for this type. Read more
type Position = u64
Type which represents the position in a stream. Ord
is required to allow parsers to determine which of two positions are further ahead. Read more
type Error = Errors<u8, u8, u64>
fn uncons(&mut self) -> Result<u8, StreamErrorFor<Self>>
[src]
fn is_partial(&self) -> bool
[src]
impl<R: Read> Positioned for ElasticBufferedReadStream<R>
[src]
impl<R: Read> Resetable for ElasticBufferedReadStream<R>
[src]
type Checkpoint = CheckPoint
fn checkpoint(&self) -> Self::Checkpoint
[src]
fn reset(&mut self, checkpoint: Self::Checkpoint)
[src]
Auto Trait Implementations
impl<R> !Send for ElasticBufferedReadStream<R>
impl<R> !Sync for ElasticBufferedReadStream<R>
impl<R> Unpin for ElasticBufferedReadStream<R> where
R: Unpin,
R: Unpin,
impl<R> !UnwindSafe for ElasticBufferedReadStream<R>
impl<R> !RefUnwindSafe for ElasticBufferedReadStream<R>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<I> Stream for I where
I: StreamOnce + Positioned + Resetable,
<I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
[src]
I: StreamOnce + Positioned + Resetable,
<I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,