[−][src]Struct ekvsb::kvs::RocksDb
Methods
impl RocksDb
[src]
pub fn new<P: AsRef<Path>>(path: P) -> Result<Self>
[src]
pub fn with_options<P: AsRef<Path>>(path: P, options: Options) -> Result<Self>
[src]
Trait Implementations
impl KeyValueStore for RocksDb
[src]
type OwnedValue = DBVector
fn put(&mut self, key: &[u8], value: &[u8]) -> Result<Existence>
[src]
fn get(&mut self, key: &[u8]) -> Result<Option<Self::OwnedValue>>
[src]
fn delete(&mut self, key: &[u8]) -> Result<Existence>
[src]
impl Debug for RocksDb
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,