Trait bee_storage::access::Truncate
source · [−]pub trait Truncate<K, V>: StorageBackend {
fn truncate(&self) -> Result<(), Self::Error>;
}
Expand description
Truncate<K, V>
trait extends the StorageBackend
with truncate
operation for the (key: K, value: V) pair;
therefore, it should be explicitly implemented for the corresponding StorageBackend
.