pub struct R2Store { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Store for R2Store
impl Store for R2Store
fn get_object(&self, filename: String) -> AsyncStoreResult<'_, Option<Vec<u8>>>
fn put_object<'a>( &'a self, filename: String, content: &'a [u8], ) -> AsyncStoreResult<'_, ()>
Auto Trait Implementations§
impl Freeze for R2Store
impl RefUnwindSafe for R2Store
impl Send for R2Store
impl Sync for R2Store
impl Unpin for R2Store
impl UnwindSafe for R2Store
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