pub enum ReplayInputError {
EventStore(EventStoreError),
InvalidSeqRange {
from_seq: u64,
to_seq: u64,
message: String,
},
EmptyCatalogSelection,
MissingCatalogTimeBounds {
data_cls: String,
},
InvalidCatalogTimeRange {
data_cls: String,
start: u64,
end: u64,
},
MissingCatalogSlice {
data_cls: String,
identifiers: Vec<String>,
},
Catalog {
data_cls: String,
message: String,
},
}Expand description
Errors surfaced while planning or loading replay inputs.
Variants§
EventStore(EventStoreError)
The event-store reader failed.
InvalidSeqRange
The requested event-store seq range is invalid.
Fields
EmptyCatalogSelection
A catalog-joined replay plan had no selected catalog slices.
MissingCatalogTimeBounds
A catalog slice needs time bounds, but neither selector nor event-store scan supplied them.
InvalidCatalogTimeRange
A catalog slice has an invalid timestamp range.
Fields
MissingCatalogSlice
A required catalog slice had no files.
Fields
Catalog
The catalog source failed.
Trait Implementations§
Source§impl Debug for ReplayInputError
impl Debug for ReplayInputError
Source§impl Display for ReplayInputError
impl Display for ReplayInputError
Source§impl Error for ReplayInputError
impl Error for ReplayInputError
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<EventStoreError> for ReplayInputError
impl From<EventStoreError> for ReplayInputError
Source§fn from(source: EventStoreError) -> Self
fn from(source: EventStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplayInputError
impl RefUnwindSafe for ReplayInputError
impl Send for ReplayInputError
impl Sync for ReplayInputError
impl Unpin for ReplayInputError
impl UnsafeUnpin for ReplayInputError
impl UnwindSafe for ReplayInputError
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more