Struct move_vm_test_utils::DeltaStorage
source · [−]pub struct DeltaStorage<'a, 'b, S> { /* private fields */ }
Expand description
A storage adapter created by stacking a change set on top of an existing storage backend. This can be used for additional computations without modifying the base.
Implementations
sourceimpl<'a, 'b, S: MoveResolver> DeltaStorage<'a, 'b, S>
impl<'a, 'b, S: MoveResolver> DeltaStorage<'a, 'b, S>
Trait Implementations
sourceimpl<'a, 'b, S: Clone> Clone for DeltaStorage<'a, 'b, S>
impl<'a, 'b, S: Clone> Clone for DeltaStorage<'a, 'b, S>
sourcefn clone(&self) -> DeltaStorage<'a, 'b, S>
fn clone(&self) -> DeltaStorage<'a, 'b, S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a, 'b, S: Debug> Debug for DeltaStorage<'a, 'b, S>
impl<'a, 'b, S: Debug> Debug for DeltaStorage<'a, 'b, S>
sourceimpl<'a, 'b, S: ModuleResolver> ModuleResolver for DeltaStorage<'a, 'b, S>
impl<'a, 'b, S: ModuleResolver> ModuleResolver for DeltaStorage<'a, 'b, S>
sourceimpl<'a, 'b, S: ResourceResolver> ResourceResolver for DeltaStorage<'a, 'b, S>
impl<'a, 'b, S: ResourceResolver> ResourceResolver for DeltaStorage<'a, 'b, S>
type Error = <S as ResourceResolver>::Error
fn get_resource(
&self,
address: &AccountAddress,
tag: &StructTag
) -> Result<Option<Vec<u8>>, S::Error>
Auto Trait Implementations
impl<'a, 'b, S> RefUnwindSafe for DeltaStorage<'a, 'b, S> where
S: RefUnwindSafe,
impl<'a, 'b, S> Send for DeltaStorage<'a, 'b, S> where
S: Sync,
impl<'a, 'b, S> Sync for DeltaStorage<'a, 'b, S> where
S: Sync,
impl<'a, 'b, S> Unpin for DeltaStorage<'a, 'b, S>
impl<'a, 'b, S> UnwindSafe for DeltaStorage<'a, 'b, S> where
S: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more