pub struct ObjectStorage<T>where
T: ObjectStorageState,{ /* private fields */ }Implementations§
Source§impl ObjectStorage<OssState>
impl ObjectStorage<OssState>
Trait Implementations§
Source§impl<T> BlobBackend for ObjectStorage<T>where
T: ObjectStorageState + 'static,
impl<T> BlobBackend for ObjectStorage<T>where
T: ObjectStorageState + 'static,
Source§fn metrics(&self) -> &BackendMetrics
fn metrics(&self) -> &BackendMetrics
Get metrics object.
Source§fn get_reader(&self, blob_id: &str) -> BackendResult<Arc<dyn BlobReader>>
fn get_reader(&self, blob_id: &str) -> BackendResult<Arc<dyn BlobReader>>
Get a blob reader object to access blob
blob_id.Source§impl<T> Debug for ObjectStorage<T>where
T: ObjectStorageState + Debug,
impl<T> Debug for ObjectStorage<T>where
T: ObjectStorageState + Debug,
Source§impl<T> Drop for ObjectStorage<T>where
T: ObjectStorageState,
impl<T> Drop for ObjectStorage<T>where
T: ObjectStorageState,
Auto Trait Implementations§
impl<T> Freeze for ObjectStorage<T>
impl<T> !RefUnwindSafe for ObjectStorage<T>
impl<T> Send for ObjectStorage<T>
impl<T> Sync for ObjectStorage<T>
impl<T> Unpin for ObjectStorage<T>
impl<T> UnsafeUnpin for ObjectStorage<T>
impl<T> !UnwindSafe for ObjectStorage<T>
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