pub enum EventDecodeError {
UnsupportedStateBearing {
event_type: String,
},
Invalid(String),
}Expand description
Failure while inspecting an untrusted observable event.
Variants§
UnsupportedStateBearing
The unknown event is not explicitly safe for observers to skip.
Invalid(String)
The envelope, payload, or compatibility marker is malformed.
Trait Implementations§
Source§impl Debug for EventDecodeError
impl Debug for EventDecodeError
Source§impl Display for EventDecodeError
impl Display for EventDecodeError
Source§impl Error for EventDecodeError
impl Error for EventDecodeError
1.30.0 · 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 EventDecodeError
impl RefUnwindSafe for EventDecodeError
impl Send for EventDecodeError
impl Sync for EventDecodeError
impl Unpin for EventDecodeError
impl UnsafeUnpin for EventDecodeError
impl UnwindSafe for EventDecodeError
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