pub enum CommsCommandProjectionError {
Command(CommsCommandError),
IntentParamsMismatch {
intent: &'static str,
},
CompatibilityJson {
field: &'static str,
source: Error,
},
}Expand description
Failure projecting the typed public comms contract into the core compatibility command envelope.
Variants§
Trait Implementations§
Source§impl Debug for CommsCommandProjectionError
impl Debug for CommsCommandProjectionError
Source§impl Error for CommsCommandProjectionError
impl Error for CommsCommandProjectionError
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<CommsCommandError> for CommsCommandProjectionError
impl From<CommsCommandError> for CommsCommandProjectionError
Source§fn from(source: CommsCommandError) -> Self
fn from(source: CommsCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommsCommandProjectionError
impl !UnwindSafe for CommsCommandProjectionError
impl Freeze for CommsCommandProjectionError
impl Send for CommsCommandProjectionError
impl Sync for CommsCommandProjectionError
impl Unpin for CommsCommandProjectionError
impl UnsafeUnpin for CommsCommandProjectionError
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