pub enum SerializedCommandError {
NullPayload,
Json(Error),
}Variants§
Trait Implementations§
Source§impl Debug for SerializedCommandError
impl Debug for SerializedCommandError
Source§impl Display for SerializedCommandError
impl Display for SerializedCommandError
Source§impl Error for SerializedCommandError
impl Error for SerializedCommandError
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<Error> for SerializedCommandError
impl From<Error> for SerializedCommandError
Source§impl From<SerializedCommandError> for SagaAppendCommandError
impl From<SerializedCommandError> for SagaAppendCommandError
Source§fn from(source: SerializedCommandError) -> Self
fn from(source: SerializedCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SerializedCommandError
impl !RefUnwindSafe for SerializedCommandError
impl Send for SerializedCommandError
impl Sync for SerializedCommandError
impl Unpin for SerializedCommandError
impl !UnwindSafe for SerializedCommandError
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