pub enum DecodeRowsError<D, E>{
Decode(D),
Sink(E),
}Expand description
Error wrapper used by row-streaming decode when either the codec or the caller-provided row sink can fail.
Variants§
Trait Implementations§
Source§impl<D, E> Clone for DecodeRowsError<D, E>
impl<D, E> Clone for DecodeRowsError<D, E>
Source§fn clone(&self) -> DecodeRowsError<D, E>
fn clone(&self) -> DecodeRowsError<D, E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<D, E> Debug for DecodeRowsError<D, E>
impl<D, E> Debug for DecodeRowsError<D, E>
Source§impl<D, E> Display for DecodeRowsError<D, E>
impl<D, E> Display for DecodeRowsError<D, E>
impl<D, E> Eq for DecodeRowsError<D, E>
Source§impl<D, E> Error for DecodeRowsError<D, E>
impl<D, E> Error for DecodeRowsError<D, E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<D, E> PartialEq for DecodeRowsError<D, E>
impl<D, E> PartialEq for DecodeRowsError<D, E>
Source§fn eq(&self, other: &DecodeRowsError<D, E>) -> bool
fn eq(&self, other: &DecodeRowsError<D, E>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<D, E> StructuralPartialEq for DecodeRowsError<D, E>
Auto Trait Implementations§
impl<D, E> Freeze for DecodeRowsError<D, E>
impl<D, E> RefUnwindSafe for DecodeRowsError<D, E>where
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for DecodeRowsError<D, E>
impl<D, E> Sync for DecodeRowsError<D, E>
impl<D, E> Unpin for DecodeRowsError<D, E>
impl<D, E> UnsafeUnpin for DecodeRowsError<D, E>where
D: UnsafeUnpin,
E: UnsafeUnpin,
impl<D, E> UnwindSafe for DecodeRowsError<D, E>where
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more