pub enum MismatchedEventRefsError {
ExpectedV1GotV2,
ExpectedV2GotV1,
}Expand description
Error when mismatched event refs are provided
Variants§
Trait Implementations§
Source§impl Debug for MismatchedEventRefsError
impl Debug for MismatchedEventRefsError
Source§impl Display for MismatchedEventRefsError
impl Display for MismatchedEventRefsError
Source§impl Error for MismatchedEventRefsError
impl Error for MismatchedEventRefsError
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()
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 MismatchedEventRefsError
impl RefUnwindSafe for MismatchedEventRefsError
impl Send for MismatchedEventRefsError
impl Sync for MismatchedEventRefsError
impl Unpin for MismatchedEventRefsError
impl UnsafeUnpin for MismatchedEventRefsError
impl UnwindSafe for MismatchedEventRefsError
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