pub struct ObjectMetadataService(/* private fields */);Expand description
Typed metadata service injected by a managed object-storage plugin.
Implementations§
Source§impl ObjectMetadataService
impl ObjectMetadataService
pub fn new(reader: Arc<dyn ObjectMetadataReader>) -> Self
pub async fn head( &self, key: &ObjectKey, ) -> Result<Option<ObjectHead>, ObjectStoreError>
Trait Implementations§
Source§impl Clone for ObjectMetadataService
impl Clone for ObjectMetadataService
Source§fn clone(&self) -> ObjectMetadataService
fn clone(&self) -> ObjectMetadataService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ObjectMetadataService
impl !UnwindSafe for ObjectMetadataService
impl Freeze for ObjectMetadataService
impl Send for ObjectMetadataService
impl Sync for ObjectMetadataService
impl Unpin for ObjectMetadataService
impl UnsafeUnpin for ObjectMetadataService
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