soph_storage/lib.rs
1pub mod config;
2pub mod error;
3pub mod support;
4pub mod traits;
5
6pub type StorageResult<T, E = error::Error> = Result<T, E>;
7
8pub struct Storage {
9 driver: Box<dyn traits::StoreDriver>,
10}
11
12pub struct PutResponse {
13 pub e_tag: Option<String>,
14 pub version: Option<String>,
15}
16
17pub type GetResponse = object_store::GetResult;
18
19// re-export
20pub use soph_core::*;