diff --git a/src/driver/mod.rs b/src/driver/mod.rs index be2f359..3c2c380 100644 --- a/src/driver/mod.rs +++ b/src/driver/mod.rs @@ -52,6 +52,10 @@ impl Driver { } } + pub fn sled(&self) -> Option<&Sled> { + self.sled.as_ref() + } + pub fn elapsed(&self) -> Duration { self.startup.elapsed() }