pub enum PumpError<S, T> {
Source(S),
Sink(T),
}Expand description
An error raised while pumping events from a source into a sink, recording which side failed.
Variants§
Trait Implementations§
impl<S: Eq, T: Eq> Eq for PumpError<S, T>
Source§impl<S: PartialEq, T: PartialEq> PartialEq for PumpError<S, T>
impl<S: PartialEq, T: PartialEq> PartialEq for PumpError<S, T>
impl<S: PartialEq, T: PartialEq> StructuralPartialEq for PumpError<S, T>
Auto Trait Implementations§
impl<S, T> Freeze for PumpError<S, T>
impl<S, T> RefUnwindSafe for PumpError<S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for PumpError<S, T>
impl<S, T> Sync for PumpError<S, T>
impl<S, T> Unpin for PumpError<S, T>
impl<S, T> UnsafeUnpin for PumpError<S, T>where
S: UnsafeUnpin,
T: UnsafeUnpin,
impl<S, T> UnwindSafe for PumpError<S, T>where
S: UnwindSafe,
T: 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