make KvStore Send+Sync (#3317)

This commit is contained in:
Mark
2019-03-15 13:01:34 -05:00
committed by GitHub
parent 4ba4ad9878
commit a15927f8d0
2 changed files with 20 additions and 21 deletions

View File

@ -1,5 +1,5 @@
use crate::entry::Entry;
use crate::kvstore::{self, Key};
use crate::kvstore::{self, Key, KvStore};
use crate::packet::Blob;
use crate::result::{Error, Result};
@ -12,7 +12,7 @@ use super::db::{
use super::{Blocktree, BlocktreeError};
#[derive(Debug)]
pub struct Kvs(());
pub struct Kvs(KvStore);
/// The metadata column family
#[derive(Debug)]