pub trait OpenSnapshotMptTrait<'db> {
    type SnapshotDbBorrowSharedType: 'db + SnapshotMptTraitRead;
    type SnapshotDbBorrowMutType: 'db + SnapshotMptTraitRw;
    type SnapshotDbAsOwnedType: 'db + SnapshotMptTraitRw;

    // Required methods
    fn open_snapshot_mpt_owned(
        &'db mut self
    ) -> StorageResult<Self::SnapshotDbBorrowMutType>;
    fn open_snapshot_mpt_as_owned(
        &'db self
    ) -> StorageResult<Self::SnapshotDbAsOwnedType>;
    fn open_snapshot_mpt_shared(
        &'db self
    ) -> StorageResult<Self::SnapshotDbBorrowSharedType>;
}

Required Associated Types§

Required Methods§

Implementors§