diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-21 21:54:36 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-21 21:54:36 +0100 |
commit | 012c6ad6724b6a6e155ee717e6d558e1fe199e43 (patch) | |
tree | 986377de04024911c1c460e41828dde546d5a6a6 /src/storage/mod.rs | |
parent | 4b8b48b48572115b943efdf6356a191871d46a55 (diff) | |
download | aerogramme-012c6ad6724b6a6e155ee717e6d558e1fe199e43.tar.gz aerogramme-012c6ad6724b6a6e155ee717e6d558e1fe199e43.zip |
initialize aws sdk with our info
Diffstat (limited to 'src/storage/mod.rs')
-rw-r--r-- | src/storage/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/mod.rs b/src/storage/mod.rs index 0fedfab..10149e9 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -157,8 +157,9 @@ pub trait IStore { #[derive(Clone,Debug,PartialEq,Eq,Hash)] pub struct UnicityBuffer(Vec<u8>); +#[async_trait] pub trait IBuilder: std::fmt::Debug { - fn build(&self) -> Result<Store, StorageError>; + async fn build(&self) -> Result<Store, StorageError>; /// Returns an opaque buffer that uniquely identifies this builder fn unique(&self) -> UnicityBuffer; |