pub struct S3CompatibleObjectStore { /* private fields */ }Implementations§
Source§impl S3CompatibleObjectStore
impl S3CompatibleObjectStore
pub fn new(bucket: S3CompatibleBucket) -> Self
Trait Implementations§
Source§impl Clone for S3CompatibleObjectStore
impl Clone for S3CompatibleObjectStore
Source§impl DurableObjectStore for S3CompatibleObjectStore
impl DurableObjectStore for S3CompatibleObjectStore
fn put_if_absent(&self, key: &str, value: &[u8]) -> Result<(), String>
fn get(&self, key: &str) -> Result<Option<Vec<u8>>, String>
fn delete(&self, key: &str) -> Result<bool, String>
fn list_prefix(&self, prefix: &str) -> Result<Vec<String>, String>
fn compare_and_swap( &self, key: &str, expected: Option<&[u8]>, replacement: &[u8], ) -> Result<bool, String>
Auto Trait Implementations§
impl Freeze for S3CompatibleObjectStore
impl RefUnwindSafe for S3CompatibleObjectStore
impl Send for S3CompatibleObjectStore
impl Sync for S3CompatibleObjectStore
impl Unpin for S3CompatibleObjectStore
impl UnsafeUnpin for S3CompatibleObjectStore
impl UnwindSafe for S3CompatibleObjectStore
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