pub struct RecoveryBootstrap {
pub projection: ReplayReducer,
pub wal_writer: InstrumentedWalWriter<WalFsWriter>,
pub wal_append_telemetry: WalAppendTelemetry,
pub wal_path: PathBuf,
pub snapshot_path: PathBuf,
pub snapshot_loaded: bool,
pub snapshot_sequence: u64,
pub recovery_observations: RecoveryObservations,
}Expand description
Recovery bootstrap output containing projection state and storage handles.
Fields§
§projection: ReplayReducerReplayed projection state derived from snapshot + WAL.
wal_writer: InstrumentedWalWriter<WalFsWriter>WAL writer handle for future mutation/control lanes.
wal_append_telemetry: WalAppendTelemetryAuthoritative WAL append telemetry for daemon metrics surfaces.
wal_path: PathBufFull WAL file path.
snapshot_path: PathBufFull snapshot file path.
snapshot_loaded: boolWhether a snapshot was loaded.
snapshot_sequence: u64The WAL sequence number encoded in the loaded snapshot (0 if none).
recovery_observations: RecoveryObservationsAuthoritative recovery observations from this bootstrap execution.
Auto Trait Implementations§
impl Freeze for RecoveryBootstrap
impl RefUnwindSafe for RecoveryBootstrap
impl Send for RecoveryBootstrap
impl Sync for RecoveryBootstrap
impl Unpin for RecoveryBootstrap
impl UnsafeUnpin for RecoveryBootstrap
impl UnwindSafe for RecoveryBootstrap
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