pub enum EventValidationError {
EmptyDelta,
InvalidFormat(String),
}Expand description
Validation error types for events in the Agent User Interaction Protocol. These errors represent validation failures when creating or processing events.
Variants§
Trait Implementations§
Source§impl Debug for EventValidationError
impl Debug for EventValidationError
Source§impl Display for EventValidationError
impl Display for EventValidationError
Source§impl Error for EventValidationError
impl Error for EventValidationError
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()
Auto Trait Implementations§
impl Freeze for EventValidationError
impl RefUnwindSafe for EventValidationError
impl Send for EventValidationError
impl Sync for EventValidationError
impl Unpin for EventValidationError
impl UnwindSafe for EventValidationError
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