Struct fuel_storage::StorageMut
source · [−]Expand description
The wrapper around the storage that supports methods from StorageInspect
and StorageMutate
.
Implementations
sourceimpl<'a, T: StorageInspect<Type>, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T: StorageInspect<Type>, Type: Mappable> StorageMut<'a, T, Type>
sourceimpl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
sourceimpl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
pub fn root<Key>(self, key: &Key) -> Result<MerkleRoot, T::Error>where
T: MerkleRootStorage<Key, Type>,
Auto Trait Implementations
impl<'a, T: ?Sized, Type> RefUnwindSafe for StorageMut<'a, T, Type>where
T: RefUnwindSafe,
Type: RefUnwindSafe,
impl<'a, T: ?Sized, Type> Send for StorageMut<'a, T, Type>where
T: Send,
Type: Send,
impl<'a, T: ?Sized, Type> Sync for StorageMut<'a, T, Type>where
T: Sync,
Type: Sync,
impl<'a, T: ?Sized, Type> Unpin for StorageMut<'a, T, Type>where
Type: Unpin,
impl<'a, T, Type> !UnwindSafe for StorageMut<'a, T, Type>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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