pub enum EventIdGenerationError {
V1MissingServerName,
InvalidEvent(String),
}Expand description
Error for when we can’t generate a valid event
Variants§
Trait Implementations§
Source§impl Debug for EventIdGenerationError
impl Debug for EventIdGenerationError
Source§impl Display for EventIdGenerationError
impl Display for EventIdGenerationError
Source§impl Error for EventIdGenerationError
impl Error for EventIdGenerationError
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<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.
Auto Trait Implementations§
impl Freeze for EventIdGenerationError
impl RefUnwindSafe for EventIdGenerationError
impl Send for EventIdGenerationError
impl Sync for EventIdGenerationError
impl Unpin for EventIdGenerationError
impl UnsafeUnpin for EventIdGenerationError
impl UnwindSafe for EventIdGenerationError
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