Struct fuel_storage::StorageMut
source · pub struct StorageMut<'a, T: 'a + ?Sized, Type: Mappable>(_, _);
Expand description
The wrapper around the storage that supports methods from StorageInspect
and StorageMutate
.
Implementations§
source§impl<'a, T: StorageInspect<Type>, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T: StorageInspect<Type>, Type: Mappable> StorageMut<'a, T, Type>
source§impl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T: StorageMutate<Type>, Type: Mappable> StorageMut<'a, T, Type>
source§impl<'a, T, Type: Mappable> StorageMut<'a, T, Type>
impl<'a, T, 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more