pub struct MultipartObjectService { /* private fields */ }Implementations§
Source§impl MultipartObjectService
impl MultipartObjectService
pub fn new( signer: Arc<dyn MultipartObjectSigner>, policy: MultipartUploadPolicy, ) -> Self
pub async fn issue( &self, request: IssueMultipartObjectUpload, ) -> Result<IssuedMultipartUpload, ObjectTransferError>
pub async fn issue_part( &self, pending: &PendingMultipartUpload, part_number: u32, sha256: String, ) -> Result<IssuedMultipartPart, ObjectTransferError>
pub fn accept_part( &self, pending: &PendingMultipartUpload, expected: &ExpectedMultipartPart, receipt: MultipartPartReceipt, ) -> Result<TrustedMultipartPart, ObjectTransferError>
pub async fn complete( &self, pending: &PendingMultipartUpload, parts: &[TrustedMultipartPart], ) -> Result<CompletedMultipartObject, ObjectTransferError>
pub async fn abort( &self, pending: &PendingMultipartUpload, ) -> Result<(), ObjectTransferError>
Trait Implementations§
Source§impl Clone for MultipartObjectService
impl Clone for MultipartObjectService
Source§fn clone(&self) -> MultipartObjectService
fn clone(&self) -> MultipartObjectService
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 MultipartObjectService
impl !UnwindSafe for MultipartObjectService
impl Freeze for MultipartObjectService
impl Send for MultipartObjectService
impl Sync for MultipartObjectService
impl Unpin for MultipartObjectService
impl UnsafeUnpin for MultipartObjectService
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