[][src]Trait grin_chain::linked_list::RewindableListIndex

pub trait RewindableListIndex {
    pub fn rewind(
        &self,
        batch: &Batch<'_>,
        commit: Commitment,
        rewind_pos: u64
    ) -> Result<(), Error>; }

Supports "rewind" given the provided commit and a pos to rewind back to.

Required methods

pub fn rewind(
    &self,
    batch: &Batch<'_>,
    commit: Commitment,
    rewind_pos: u64
) -> Result<(), Error>
[src]

Rewind the index for the given commitment to the specified position.

Loading content...

Implementors

impl<T: PosEntry> RewindableListIndex for MultiIndex<T>[src]

List index that supports rewind.

Loading content...