Enum odra_core::EventError
source · pub enum EventError {
UnexpectedType(String),
IndexOutOfBounds,
Formatting,
Parsing,
CouldntExtractName,
CouldntExtractEventData,
}Expand description
Event-related errors.
Variants§
UnexpectedType(String)
The type of event is different than expected.
IndexOutOfBounds
Index of the event is out of bounds.
Formatting
Formatting error while deserializing.
Parsing
Unexpected error while deserializing.
CouldntExtractName
Could not extract event name.
CouldntExtractEventData
Could not extract event data.
Trait Implementations§
source§impl Debug for EventError
impl Debug for EventError
source§impl PartialEq for EventError
impl PartialEq for EventError
source§fn eq(&self, other: &EventError) -> bool
fn eq(&self, other: &EventError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for EventError
impl PartialOrd for EventError
source§fn partial_cmp(&self, other: &EventError) -> Option<Ordering>
fn partial_cmp(&self, other: &EventError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for EventError
impl StructuralPartialEq for EventError
Auto Trait Implementations§
impl Freeze for EventError
impl RefUnwindSafe for EventError
impl Send for EventError
impl Sync for EventError
impl Unpin for EventError
impl UnwindSafe for EventError
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