pub struct ReplayPlan {
pub branch: BranchId,
pub streams: StreamSelector,
pub from: Bound<u64>,
pub until: ReplayEnd,
pub time: Option<Range<i64>>,
pub max_events: Option<u64>,
pub verification: VerificationMode,
}Expand description
A declarative replay request (spec/04). Resolved against the log and
branch catalog by Salamander::read.
Fields§
§branch: BranchIdBranch whose (inherited) history to read.
streams: StreamSelectorWhich streams to include.
from: Bound<u64>Lower bound on global position.
until: ReplayEndWhere to stop (exclusive).
time: Option<Range<i64>>Half-open envelope-timestamp filter (unix nanos). Timestamps are not monotonic in the log, so this is an exact per-record filter; sidecar min/max ranges are used only as a segment-skip hint.
max_events: Option<u64>Stop after yielding this many events, if set.
verification: VerificationModeHow much integrity re-verification to perform while reading.
Trait Implementations§
Source§impl Clone for ReplayPlan
impl Clone for ReplayPlan
Source§fn clone(&self) -> ReplayPlan
fn clone(&self) -> ReplayPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplayPlan
impl Debug for ReplayPlan
Source§impl Default for ReplayPlan
impl Default for ReplayPlan
impl Eq for ReplayPlan
Source§impl PartialEq for ReplayPlan
impl PartialEq for ReplayPlan
impl StructuralPartialEq for ReplayPlan
Auto Trait Implementations§
impl Freeze for ReplayPlan
impl RefUnwindSafe for ReplayPlan
impl Send for ReplayPlan
impl Sync for ReplayPlan
impl Unpin for ReplayPlan
impl UnsafeUnpin for ReplayPlan
impl UnwindSafe for ReplayPlan
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