Struct chainseeker_server::rocks_db::RocksDBColumnFamily [−][src]
pub struct RocksDBColumnFamily<'a, K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static, { /* fields omitted */ }
Implementations
impl<'a, K, V> RocksDBColumnFamily<'a, K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
[src]
impl<'a, K, V> RocksDBColumnFamily<'a, K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
[src]pub fn new(base: &'a RocksDB<Empty, Empty>, name: &str) -> Self
[src]
pub fn name(&self) -> &str
[src]
pub fn get(&self, key: &K) -> Option<V>
[src]
pub fn put(&self, key: &K, value: &V)
[src]
pub fn delete(&self, key: &K)
[src]
pub fn iter(&self) -> RocksDBIterator<'_, K, V>ⓘNotable traits for RocksDBIterator<'a, K, V>
impl<'a, K, V> Iterator for RocksDBIterator<'a, K, V> where
K: Serialize + Deserialize,
V: Serialize + Deserialize, type Item = (K, V);
[src]
Notable traits for RocksDBIterator<'a, K, V>
impl<'a, K, V> Iterator for RocksDBIterator<'a, K, V> where
K: Serialize + Deserialize,
V: Serialize + Deserialize, type Item = (K, V);
pub fn prefix_iter(&self, prefix: Vec<u8>) -> RocksDBPrefixIterator<'_, K, V>ⓘNotable traits for RocksDBPrefixIterator<'a, K, V>
impl<'a, K, V> Iterator for RocksDBPrefixIterator<'a, K, V> where
K: Serialize + Deserialize,
V: Serialize + Deserialize, type Item = (K, V);
[src]
Notable traits for RocksDBPrefixIterator<'a, K, V>
impl<'a, K, V> Iterator for RocksDBPrefixIterator<'a, K, V> where
K: Serialize + Deserialize,
V: Serialize + Deserialize, type Item = (K, V);
Auto Trait Implementations
impl<'a, K, V> RefUnwindSafe for RocksDBColumnFamily<'a, K, V>
impl<'a, K, V> Send for RocksDBColumnFamily<'a, K, V>
impl<'a, K, V> !Sync for RocksDBColumnFamily<'a, K, V>
impl<'a, K, V> Unpin for RocksDBColumnFamily<'a, K, V>
impl<'a, K, V> UnwindSafe for RocksDBColumnFamily<'a, K, V>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]