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§impl PartialOrd for EventError
impl PartialOrd for EventError
impl 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