pub enum StreamError<E> {
Spawn(String),
Cancelled,
TimedOut(Duration),
Failure(Failure),
Consumer(E),
}Expand description
Why a streamed run did not complete. Mirrors CaptureError;
StreamError::Consumer carries the consumer’s own error type so a
parse/shape failure surfaces typed, never flattened to a message.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for StreamError<E>where
E: Freeze,
impl<E> RefUnwindSafe for StreamError<E>where
E: RefUnwindSafe,
impl<E> Send for StreamError<E>where
E: Send,
impl<E> Sync for StreamError<E>where
E: Sync,
impl<E> Unpin for StreamError<E>where
E: Unpin,
impl<E> UnsafeUnpin for StreamError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for StreamError<E>where
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