pub struct RestoredState {
pub vm: VmSnapshot,
pub resume_watermark: Option<u64>,
}Expand description
VM state handed from the restore path to the generated runtime, consumed
exactly once via take_restored.
Fields§
§vm: VmSnapshot§resume_watermark: Option<u64>Some(slot) to resume the Yellowstone stream from that slot; None
when the snapshot was too stale (state still hydrates, stream starts
live and account-derived state self-heals).
Auto Trait Implementations§
impl Freeze for RestoredState
impl RefUnwindSafe for RestoredState
impl Send for RestoredState
impl Sync for RestoredState
impl Unpin for RestoredState
impl UnsafeUnpin for RestoredState
impl UnwindSafe for RestoredState
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