pub struct CollectError<T, U> { /* private fields */ }
Expand description
Errors returned from Collect
future.
Implementations
sourceimpl<T, U> CollectError<T, U>
impl<T, U> CollectError<T, U>
sourcepub fn is_stream_err(&self) -> bool
pub fn is_stream_err(&self) -> bool
Returns true
if the error was caused by polling the stream.
sourcepub fn is_collect_err(&self) -> bool
pub fn is_collect_err(&self) -> bool
Returns true
if the error happened while collecting the data.
Trait Implementations
Auto Trait Implementations
impl<T, U> RefUnwindSafe for CollectError<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for CollectError<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for CollectError<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for CollectError<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for CollectError<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more