multiversx_sc::storage::mappers

Trait StorageClearable

Source
pub trait StorageClearable {
    // Required method
    fn clear(&mut self);
}

Required Methods§

Source

fn clear(&mut self)

Clears all the entries owned by the storage.

Implementors§

Source§

impl<SA, K, V> StorageClearable for MapMapper<SA, K, V, CurrentStorage>

Source§

impl<SA, K, V> StorageClearable for MapStorageMapper<SA, K, V, CurrentStorage>

Source§

impl<SA, T> StorageClearable for LinkedListMapper<SA, T>

Source§

impl<SA, T> StorageClearable for QueueMapper<SA, T, CurrentStorage>

Source§

impl<SA, T> StorageClearable for SetMapper<SA, T, CurrentStorage>

Source§

impl<SA, T> StorageClearable for UnorderedSetMapper<SA, T, CurrentStorage>

Source§

impl<SA, T> StorageClearable for VecMapper<SA, T, CurrentStorage>