pub struct ObjectReadService(/* private fields */);Implementations§
Source§impl ObjectReadService
impl ObjectReadService
pub fn new(reader: Arc<dyn ObjectStreamReader>) -> Self
pub async fn head( &self, key: &ObjectKey, ) -> Result<Option<ObjectReadHead>, ObjectStoreError>
pub async fn read( &self, request: ObjectReadRequest, ) -> Result<Option<ObjectReadResponse>, ObjectStoreError>
Trait Implementations§
Source§impl Clone for ObjectReadService
impl Clone for ObjectReadService
Source§fn clone(&self) -> ObjectReadService
fn clone(&self) -> ObjectReadService
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 ObjectReadService
impl !UnwindSafe for ObjectReadService
impl Freeze for ObjectReadService
impl Send for ObjectReadService
impl Sync for ObjectReadService
impl Unpin for ObjectReadService
impl UnsafeUnpin for ObjectReadService
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