Commit c67faf11 authored by Jay Lee's avatar Jay Lee

*: implement debug for DB

parent 3d49265a
...@@ -52,6 +52,12 @@ pub struct DB { ...@@ -52,6 +52,12 @@ pub struct DB {
opts: Options, opts: Options,
} }
impl Debug for DB {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
write!(f, "Db [path={}]", self.path)
}
}
unsafe impl Send for DB {} unsafe impl Send for DB {}
unsafe impl Sync for DB {} unsafe impl Sync for DB {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment