pub enum TaskSinkError<PushError> {
PushError(PushError),
CodecError(BoxDynError),
}Expand description
Error type for TaskSink operations
Variants§
PushError(PushError)
Error occurred while pushing the task
CodecError(BoxDynError)
Error occurred during encoding/decoding of the task
Trait Implementations§
Source§impl<PushError: Debug> Debug for TaskSinkError<PushError>
impl<PushError: Debug> Debug for TaskSinkError<PushError>
Source§impl<PushError> Display for TaskSinkError<PushError>where
PushError: Display,
impl<PushError> Display for TaskSinkError<PushError>where
PushError: Display,
Source§impl<PushError> Error for TaskSinkError<PushError>
impl<PushError> Error for TaskSinkError<PushError>
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<PushError> Freeze for TaskSinkError<PushError>where
PushError: Freeze,
impl<PushError> !RefUnwindSafe for TaskSinkError<PushError>
impl<PushError> Send for TaskSinkError<PushError>where
PushError: Send,
impl<PushError> Sync for TaskSinkError<PushError>where
PushError: Sync,
impl<PushError> Unpin for TaskSinkError<PushError>where
PushError: Unpin,
impl<PushError> !UnwindSafe for TaskSinkError<PushError>
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