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 Forget for RestoredState
impl Freeze for RestoredStatewhere
*const u8 is !null: Freeze,
PhantomData<(u32, StateTableSnapshot)>: Freeze,
PhantomData<ResolverCacheEntrySnapshot>: Freeze,
impl Move for RestoredState
impl RefUnwindSafe for RestoredState
impl Send for RestoredState
impl Sync for RestoredState
impl Unpin for RestoredState
impl UnsafeUnpin for RestoredStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(u32, StateTableSnapshot)>: UnsafeUnpin,
PhantomData<ResolverCacheEntrySnapshot>: UnsafeUnpin,
impl UnwindSafe for RestoredStatewhere
HashMap<u32, StateTableSnapshot>: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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