pub enum CommandWorkerError {
Topic(TopicError),
Consumer(ConsumerError),
CommandEnvelope(CommandEnvelopeError),
Dispatch(Box<dyn Error + Send + Sync>),
}Variants§
Topic(TopicError)
Consumer(ConsumerError)
CommandEnvelope(CommandEnvelopeError)
Dispatch(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for CommandWorkerError
impl Debug for CommandWorkerError
Source§impl Display for CommandWorkerError
impl Display for CommandWorkerError
Source§impl Error for CommandWorkerError
impl Error for CommandWorkerError
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()
Source§impl From<CommandEnvelopeError> for CommandWorkerError
impl From<CommandEnvelopeError> for CommandWorkerError
Source§fn from(source: CommandEnvelopeError) -> Self
fn from(source: CommandEnvelopeError) -> Self
Converts to this type from the input type.
Source§impl From<ConsumerError> for CommandWorkerError
impl From<ConsumerError> for CommandWorkerError
Source§fn from(source: ConsumerError) -> Self
fn from(source: ConsumerError) -> Self
Converts to this type from the input type.
Source§impl From<TopicError> for CommandWorkerError
impl From<TopicError> for CommandWorkerError
Source§fn from(source: TopicError) -> Self
fn from(source: TopicError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandWorkerError
impl !RefUnwindSafe for CommandWorkerError
impl Send for CommandWorkerError
impl Sync for CommandWorkerError
impl Unpin for CommandWorkerError
impl !UnwindSafe for CommandWorkerError
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