pub enum StreamError<SE, CE> {
Source(SE),
Callback(CE),
Processing(Error),
}Expand description
Why a payload pass could not finish.
Variants§
Source(SE)
The source did not reach successful EOF.
Callback(CE)
A sink callback refused, with its original cause.
Processing(Error)
Common processing refused resources before dispatch.
Trait Implementations§
Auto Trait Implementations§
impl<SE, CE> !Freeze for StreamError<SE, CE>
impl<SE, CE> RefUnwindSafe for StreamError<SE, CE>where
SE: RefUnwindSafe,
CE: RefUnwindSafe,
impl<SE, CE> Send for StreamError<SE, CE>
impl<SE, CE> Sync for StreamError<SE, CE>
impl<SE, CE> Unpin for StreamError<SE, CE>
impl<SE, CE> UnsafeUnpin for StreamError<SE, CE>where
SE: UnsafeUnpin,
CE: UnsafeUnpin,
impl<SE, CE> UnwindSafe for StreamError<SE, CE>where
SE: UnwindSafe,
CE: 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