pub struct LayerUploadPool { /* private fields */ }Expand description
Coordinates per-layer uploads with bounded concurrency.
Implementations§
Source§impl LayerUploadPool
impl LayerUploadPool
pub fn new( client: &Client, reference: &Reference, auth: Arc<RegistryAuth>, options: LayerUploadOptions, ) -> Self
pub async fn upload_stream( &self, layers: Receiver<LocalLayer>, ) -> Result<UploadSummary, OciError>
Auto Trait Implementations§
impl !RefUnwindSafe for LayerUploadPool
impl !UnwindSafe for LayerUploadPool
impl Freeze for LayerUploadPool
impl Send for LayerUploadPool
impl Sync for LayerUploadPool
impl Unpin for LayerUploadPool
impl UnsafeUnpin for LayerUploadPool
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