pub enum AnyStore {
File(FileStore),
HTTP(HttpStore),
R2(R2Store),
}Variants§
Trait Implementations§
Source§impl Store for AnyStore
impl Store for AnyStore
fn put_object<'a>( &'a self, filename: String, content: &'a [u8], ) -> AsyncStoreResult<'_, ()>
fn get_object(&self, filename: String) -> AsyncStoreResult<'_, Option<Vec<u8>>>
Auto Trait Implementations§
impl Freeze for AnyStore
impl RefUnwindSafe for AnyStore
impl Send for AnyStore
impl Sync for AnyStore
impl Unpin for AnyStore
impl UnwindSafe for AnyStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more