[−][src]Struct streamparser::iter::IterSource
Implementations
impl<T, S> IterSource<T, S>
[src]
impl<T, S> IterSource<T, InfallibleWrapper<S>>
[src]
pub fn new_infallible(stream: S) -> Self
[src]
Trait Implementations
impl<B, E, T, S> Advance for IterSource<T, S> where
T: Clone,
B: AsRef<[T]>,
S: Iterator<Item = Result<B, E>>,
[src]
T: Clone,
B: AsRef<[T]>,
S: Iterator<Item = Result<B, E>>,
impl<B, E, T, S> AdvanceAsync for IterSource<T, S> where
T: Clone + Unpin,
B: AsRef<[T]>,
S: Stream<Item = Result<B, E>> + Unpin,
[src]
T: Clone + Unpin,
B: AsRef<[T]>,
S: Stream<Item = Result<B, E>> + Unpin,
type Error = E
fn poll_advance(
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context
) -> Poll<Result<(), Self::Error>>
impl<T, S> Buffer for IterSource<T, S>
[src]
type Output = [T]
fn buffer(&mut self) -> (&Self::Output, &mut usize)
[src]
fn exhausted(&self) -> bool
[src]
impl<T: Debug, S: Debug> Debug for IterSource<T, S>
[src]
Auto Trait Implementations
impl<T, S> RefUnwindSafe for IterSource<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for IterSource<T, S> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<T, S> Sync for IterSource<T, S> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<T, S> Unpin for IterSource<T, S> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for IterSource<T, S> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: 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>,