pub struct ObjectDownloadService { /* private fields */ }Implementations§
Source§impl ObjectDownloadService
impl ObjectDownloadService
pub fn new( signer: Arc<dyn ObjectDownloadSigner>, reads: ObjectReadService, policy: ObjectDownloadPolicy, ) -> Self
pub async fn issue( &self, request: IssueObjectDownload, ) -> Result<ObjectDownloadGrant, ObjectTransferError>
Trait Implementations§
Source§impl Clone for ObjectDownloadService
impl Clone for ObjectDownloadService
Source§fn clone(&self) -> ObjectDownloadService
fn clone(&self) -> ObjectDownloadService
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 ObjectDownloadService
impl !UnwindSafe for ObjectDownloadService
impl Freeze for ObjectDownloadService
impl Send for ObjectDownloadService
impl Sync for ObjectDownloadService
impl Unpin for ObjectDownloadService
impl UnsafeUnpin for ObjectDownloadService
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