Struct TryChunksError
pub struct TryChunksError<T, E>(pub Vec<T>, pub E);
Error indicating, that while chunk was collected inner stream produced an error.
Contains all items that were collected before an error occurred, and the stream error itself.
Fields
0: Vec<T>1: E
Trait Implementations
impl<T, E: Debug + Display> Error for TryChunksError<T, E>
impl<T, E: Debug> Debug for TryChunksError<T, E>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T, E: Display> Display for TryChunksError<T, E>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Eq, E: Eq> Eq for TryChunksError<T, E>
impl<T: PartialEq, E: PartialEq> PartialEq for TryChunksError<T, E>
fn eq(&self, other: &TryChunksError<T, E>) -> bool
impl<T: PartialEq, E: PartialEq> StructuralPartialEq for TryChunksError<T, E>
Auto Trait Implementations
impl<T, E> Freeze for TryChunksError<T, E>
where
Vec<T>: Freeze,
E: Freeze,
impl<T, E> RefUnwindSafe for TryChunksError<T, E>
where
Vec<T>: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for TryChunksError<T, E>
where
Vec<T>: Send,
E: Send,
impl<T, E> Sync for TryChunksError<T, E>
where
Vec<T>: Sync,
E: Sync,
impl<T, E> Unpin for TryChunksError<T, E>
where
Vec<T>: Unpin,
E: Unpin,
impl<T, E> UnsafeUnpin for TryChunksError<T, E>
where
Vec<T>: UnsafeUnpin,
E: UnsafeUnpin,
impl<T, E> UnwindSafe for TryChunksError<T, E>
where
Vec<T>: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for TryChunksError<T, E>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for TryChunksError<T, E>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for TryChunksError<T, E>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for TryChunksError<T, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for TryChunksError<T, E>
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for TryChunksError<T, E>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for TryChunksError<T, E>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for TryChunksError<T, E>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>