pub enum SnapshotResponse {
ListSnapshots(ListSnapshots),
OfferSnapshot(OfferSnapshot),
LoadSnapshotChunk(LoadSnapshotChunk),
ApplySnapshotChunk(ApplySnapshotChunk),
}
Expand description
The snapshot category of ABCI responses.
Variants
ListSnapshots(ListSnapshots)
Tuple Fields
Returns a list of local state snapshots.
OfferSnapshot(OfferSnapshot)
Tuple Fields
Returns the application’s response to a snapshot offer.
See also the Snapshot
data type and the ABCI state sync documentation.
LoadSnapshotChunk(LoadSnapshotChunk)
Tuple Fields
Returns a snapshot chunk from the application.
ApplySnapshotChunk(ApplySnapshotChunk)
Tuple Fields
Returns the result of applying a snapshot chunk and associated data.
The application can choose to refetch chunks and/or ban P2P peers as appropriate. Tendermint will not do this unless instructed by the application.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SnapshotResponse
impl Send for SnapshotResponse
impl Sync for SnapshotResponse
impl Unpin for SnapshotResponse
impl UnwindSafe for SnapshotResponse
Blanket Implementations
Mutably borrows from an owned value. Read more