pub enum EventContextualizationError {
TooManyPrevEvents,
TooManyAuthEvents,
MismatchedEventRefsError(MismatchedEventRefsError),
EventIdGenerationError(EventIdGenerationError),
}Variants§
TooManyPrevEvents
TooManyAuthEvents
MismatchedEventRefsError(MismatchedEventRefsError)
EventIdGenerationError(EventIdGenerationError)
Could not generate an ID for the PDU
Trait Implementations§
Source§impl Debug for EventContextualizationError
impl Debug for EventContextualizationError
Source§impl Error for EventContextualizationError
impl Error for EventContextualizationError
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<EventContextualizationError> for FromPduError
impl From<EventContextualizationError> for FromPduError
Source§fn from(source: EventContextualizationError) -> Self
fn from(source: EventContextualizationError) -> Self
Converts to this type from the input type.
Source§impl From<EventIdGenerationError> for EventContextualizationError
impl From<EventIdGenerationError> for EventContextualizationError
Source§fn from(source: EventIdGenerationError) -> Self
fn from(source: EventIdGenerationError) -> Self
Converts to this type from the input type.
Source§impl From<MismatchedEventRefsError> for EventContextualizationError
impl From<MismatchedEventRefsError> for EventContextualizationError
Source§fn from(source: MismatchedEventRefsError) -> Self
fn from(source: MismatchedEventRefsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventContextualizationError
impl RefUnwindSafe for EventContextualizationError
impl Send for EventContextualizationError
impl Sync for EventContextualizationError
impl Unpin for EventContextualizationError
impl UnsafeUnpin for EventContextualizationError
impl UnwindSafe for EventContextualizationError
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