#[repr(i32)]
pub enum ApplySnapshotChunkResult {
Unknown,
Accept,
Abort,
Retry,
RetrySnapshot,
RejectSnapshot,
}
Expand description
The result of applying a snapshot chunk.
Variants
Unknown
Unknown result, abort all snapshot restoration.
Accept
The chunk was accepted.
Abort
Abort snapshot restoration, and don’t try any other snapshots.
Retry
Reapply this chunk, combine with
refetch_chunks
and
reject_senders
as appropriate.
RetrySnapshot
Restart this snapshot from
OfferSnapshot
,
reusing chunks unless instructed otherwise.
RejectSnapshot
Reject this snapshot, try a different one.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ApplySnapshotChunkResult
impl Send for ApplySnapshotChunkResult
impl Sync for ApplySnapshotChunkResult
impl Unpin for ApplySnapshotChunkResult
impl UnwindSafe for ApplySnapshotChunkResult
Blanket Implementations
Mutably borrows from an owned value. Read more