pub enum EventConversionError {
Json(JsonSerDeError),
}Expand description
Error type for failures during event serialization or format conversion.
Variants§
Json(JsonSerDeError)
An error in handling JSON De-/serialization.
Trait Implementations§
Source§impl Debug for EventConversionError
impl Debug for EventConversionError
Source§impl Display for EventConversionError
impl Display for EventConversionError
Source§impl Error for EventConversionError
impl Error for EventConversionError
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<EventConversionError> for AuthorizationError
impl From<EventConversionError> for AuthorizationError
Source§fn from(source: EventConversionError) -> Self
fn from(source: EventConversionError) -> Self
Converts to this type from the input type.
Source§impl From<JsonSerDeError> for EventConversionError
impl From<JsonSerDeError> for EventConversionError
Source§fn from(source: JsonSerDeError) -> Self
fn from(source: JsonSerDeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EventConversionError
impl !UnwindSafe for EventConversionError
impl Freeze for EventConversionError
impl Send for EventConversionError
impl Sync for EventConversionError
impl Unpin for EventConversionError
impl UnsafeUnpin for EventConversionError
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