pub enum CommandEnvelopeError {
CommandNameMismatch {
expected: String,
actual: String,
},
Json(Error),
}Variants§
Trait Implementations§
Source§impl Debug for CommandEnvelopeError
impl Debug for CommandEnvelopeError
Source§impl Display for CommandEnvelopeError
impl Display for CommandEnvelopeError
Source§impl Error for CommandEnvelopeError
impl Error for CommandEnvelopeError
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.
Auto Trait Implementations§
impl Freeze for CommandEnvelopeError
impl !RefUnwindSafe for CommandEnvelopeError
impl Send for CommandEnvelopeError
impl Sync for CommandEnvelopeError
impl Unpin for CommandEnvelopeError
impl !UnwindSafe for CommandEnvelopeError
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