pub enum EnvelopeDecodeError {
Runtime(Error),
Engine(Error),
}Expand description
Decode error returned by WorkflowEvent::from_envelope_json.
Variants§
Runtime(Error)
The envelope’s "type" was a recognised Runtime* tag but the
payload failed to deserialise — wire shape mismatch.
Engine(Error)
The envelope did not match the runtime decoder or the engine
decoder. The wrapped error is from the EngineEvent parser.
Trait Implementations§
Source§impl Debug for EnvelopeDecodeError
impl Debug for EnvelopeDecodeError
Source§impl Display for EnvelopeDecodeError
impl Display for EnvelopeDecodeError
Source§impl Error for EnvelopeDecodeError
impl Error for EnvelopeDecodeError
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 Freeze for EnvelopeDecodeError
impl !RefUnwindSafe for EnvelopeDecodeError
impl Send for EnvelopeDecodeError
impl Sync for EnvelopeDecodeError
impl Unpin for EnvelopeDecodeError
impl UnsafeUnpin for EnvelopeDecodeError
impl !UnwindSafe for EnvelopeDecodeError
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