[−][src]Struct lsm_engine::LSMEngine
Implementations
impl LSMEngine
[src]
pub fn recover_from(&mut self, wal_file: File) -> Result<()>
[src]
pub fn clear(&mut self)
[src]
pub fn write(&mut self, key: String, value: String) -> Result<()>
[src]
pub fn read(&mut self, key: &str) -> Result<Option<String>>
[src]
Unfortunately this is marked as mutable since relies on rust's seek api, which is also
mutable. In the future, this might change to immutable if the seek api changes
or if the issue becomes significant enough to warrant using Rc<RefCell<>>
pub fn delete(&mut self, key: &str) -> Result<()>
[src]
pub fn contains(&mut self, key: &str) -> Result<bool>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LSMEngine
impl Send for LSMEngine
impl Sync for LSMEngine
impl Unpin for LSMEngine
impl UnwindSafe for LSMEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,