Trait engine_rocks::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]

Required methods

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

Implementations on Foreign Types

impl Compat for Arc<DB>[src][]

type Other = RocksEngine

Implementors