[−][src]Struct cdchunking::ChunkStream
Implementations
impl<R: Read, I: ChunkerImpl> ChunkStream<R, I>
[src]
pub fn read<'a>(&'a mut self) -> Option<Result<ChunkInput<'a>>>
[src]
Iterate on the chunks, returning ChunkInput
items.
An item is either some data that is part of the current chunk, or End
,
indicating the boundary between chunks.
End
is always returned at the end of the last chunk.
Auto Trait Implementations
impl<R, I> RefUnwindSafe for ChunkStream<R, I> where
I: RefUnwindSafe,
R: RefUnwindSafe,
I: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, I> Send for ChunkStream<R, I> where
I: Send,
R: Send,
I: Send,
R: Send,
impl<R, I> Sync for ChunkStream<R, I> where
I: Sync,
R: Sync,
I: Sync,
R: Sync,
impl<R, I> Unpin for ChunkStream<R, I> where
I: Unpin,
R: Unpin,
I: Unpin,
R: Unpin,
impl<R, I> UnwindSafe for ChunkStream<R, I> where
I: UnwindSafe,
R: UnwindSafe,
I: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,