agde

Enum SyncReplyAction

source
pub enum SyncReplyAction<'a> {
    FastForward {
        rewinder: Rewinder<'a>,
        metadata_applier: MetadataApplier,
    },
    HashCheck {
        unwinder: Unwinder<'a>,
    },
    UnexpectedPier,
}
Expand description

The action to perform after calling Manager::apply_sync_reply.

Variants§

§

FastForward

Rewind the public and current storage with rewinder.

You only have to do this to the resources returned by the functions on sync::Response.

Call the methods on the sync::Response to actually make changes to the resources returned before using the rewinder.

Fields

§rewinder: Rewinder<'a>

Inner state

§metadata_applier: MetadataApplier

Apply this to your public metadata.

§

HashCheck

Unwind the public and current storage with unwinder, then apply what’s returned the methods on the sync::Response and then event::Unwinder::rewind.

You only have to do this to the resources returned by the functions on sync::Response.

Fields