Trait engine_rocks::compat::Compat[][src]

pub trait Compat {
    type Other;
    fn c(&self) -> &Self::Other;
}

A trait to enter the world of engine traits from a raw Arc<DB> with as little syntax as possible.

This will be used during the transition from RocksDB to the KvEngine abstraction and then discarded.

Associated Types

type Other[src]

Loading content...

Required methods

fn c(&self) -> &Self::Other[src]

Loading content...

Implementations on Foreign Types

impl Compat for Arc<DB>[src]

type Other = RocksEngine

Loading content...

Implementors

Loading content...