Struct chainseeker_server::rocks_db::RocksDB [−][src]
pub struct RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static, { /* fields omitted */ }
Implementations
impl<K, V> RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
impl<K, V> RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
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);
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);
Trait Implementations
impl<K: Debug, V: Debug> Debug for RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
impl<K: Debug, V: Debug> Debug for RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
impl<K, V> Drop for RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
impl<K, V> Drop for RocksDB<K, V> where
K: Serialize + Deserialize + 'static,
V: Serialize + Deserialize + 'static,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for RocksDB<K, V>
impl<K, V> UnwindSafe for RocksDB<K, V>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V