pub enum ObservationApiError {
Show 14 variants
ZeroAgentInstanceId,
ZeroEventSequence,
ZeroReceivedAt,
RouteNodeMismatch,
RouteIncarnationMismatch,
Observation(ObservationValidationError),
InvalidOldestCursor,
InvalidHighWatermark,
InvalidReplayFloor,
InvalidReplayGapProof,
InvalidGap,
EventOutsideResyncRoute,
InvalidErrorDetail,
TooMany {
field: &'static str,
max: usize,
actual: usize,
},
}Variants§
ZeroAgentInstanceId
ZeroEventSequence
ZeroReceivedAt
RouteNodeMismatch
RouteIncarnationMismatch
Observation(ObservationValidationError)
InvalidOldestCursor
InvalidHighWatermark
InvalidReplayFloor
InvalidReplayGapProof
InvalidGap
EventOutsideResyncRoute
InvalidErrorDetail
TooMany
Trait Implementations§
Source§impl Clone for ObservationApiError
impl Clone for ObservationApiError
Source§impl Debug for ObservationApiError
impl Debug for ObservationApiError
Source§impl Display for ObservationApiError
impl Display for ObservationApiError
impl Eq for ObservationApiError
Source§impl Error for ObservationApiError
impl Error for ObservationApiError
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 PartialEq for ObservationApiError
impl PartialEq for ObservationApiError
impl StructuralPartialEq for ObservationApiError
Auto Trait Implementations§
impl Freeze for ObservationApiError
impl RefUnwindSafe for ObservationApiError
impl Send for ObservationApiError
impl Sync for ObservationApiError
impl Unpin for ObservationApiError
impl UnsafeUnpin for ObservationApiError
impl UnwindSafe for ObservationApiError
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