1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
Appellation: storage <providers>
Contributors: FL03 <jo3mccain@icloud.com> (https://gitlab.com/FL03)
Description:
... Summary ...
*/
#[doc(inline)]
pub use self::{cache::Cache, database::*, s3::*};
pub(crate) mod cache;
pub(crate) mod database;
pub(crate) mod s3;
pub trait UriSpec {
fn uri(&self) -> String;
}
pub trait StorageProviderSpec {
fn name(&self) -> String;
fn slug(&self) -> String;
fn uri(&self) -> String;
}