pub struct ObjectAccessService(pub Arc<dyn ObjectAccessSigner>);Tuple Fields§
§0: Arc<dyn ObjectAccessSigner>Implementations§
Source§impl ObjectAccessService
impl ObjectAccessService
pub fn new(signer: Arc<dyn ObjectAccessSigner>) -> Self
pub async fn sign_put( &self, request: PresignPutObject, ) -> Result<PresignedObjectRequest, ObjectStoreError>
pub async fn sign_get( &self, request: PresignGetObject, ) -> Result<PresignedObjectRequest, ObjectStoreError>
Trait Implementations§
Source§impl Clone for ObjectAccessService
impl Clone for ObjectAccessService
Source§fn clone(&self) -> ObjectAccessService
fn clone(&self) -> ObjectAccessService
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 ObjectAccessService
impl !UnwindSafe for ObjectAccessService
impl Freeze for ObjectAccessService
impl Send for ObjectAccessService
impl Sync for ObjectAccessService
impl Unpin for ObjectAccessService
impl UnsafeUnpin for ObjectAccessService
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