MultipartUpload

Trait MultipartUpload 

Source
pub trait MultipartUpload: Send + Sync {
    // Required methods
    fn write_chunk<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        chunk: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn finish<'async_trait>(
        self: Box<Self>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

Handle returned by ArtifactSink::open_multipart.

Required Methods§

Source

fn write_chunk<'life0, 'life1, 'async_trait>( &'life0 mut self, chunk: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Write a chunk of the artifact.

Source

fn finish<'async_trait>( self: Box<Self>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,

Finish and commit the artifact.

Implementors§