pub enum StageError {
Processing(String),
ChannelClosed,
}Expand description
Errors from pipeline stages.
Variants§
Processing(String)
The stage itself failed, with a message from the implementation.
ChannelClosed
The pipeline shut down before this item could be processed.
Trait Implementations§
Source§impl Debug for StageError
impl Debug for StageError
Source§impl Display for StageError
impl Display for StageError
Source§impl Error for StageError
impl Error for StageError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for StageError
impl RefUnwindSafe for StageError
impl Send for StageError
impl Sync for StageError
impl Unpin for StageError
impl UnsafeUnpin for StageError
impl UnwindSafe for StageError
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