docs/generated/contracts.mdgenerated from code

Reference · 1 min read

rebuild

Contracts: rebuild.

Source: crates/lvcs-runtime/src/replay.rs.

ruston main
1/// Why a machine restarted from its journal entries2/// (`TokioScheduler::rebuilding`) runs nothing.3#[derive(Debug, Clone, PartialEq, Eq)]4pub enum RebuildError {5    /// Entry `index` belongs to `actor`, not the machine being rebuilt.6    Foreign {7        /// Zero-based index of the entry.8        index: u64,9        /// The actor the entry belongs to.10        actor: ActorId,11    },12    /// Entry `index` names `incarnation`, older than the `newest` one13    /// before it.14    OutOfOrder {15        /// Zero-based index of the entry.16        index: u64,17        /// The incarnation the entry names.18        incarnation: u64,19        /// The newest incarnation an earlier entry named.20        newest: u64,21    },22    /// Replay differed from the journal, so the rebuilt context can't be23    /// trusted.24    Diverged(Divergence),25}