pub struct LayerUploadOptions {
pub chunk_size_bytes: usize,
pub large_layer_threshold_bytes: u64,
pub medium_layer_threshold_mb: f64,
pub rate_limit_delay_ms: u64,
pub concurrency: usize,
pub progress: ProgressOptions,
pub progress_reporter: Option<ProgressReporterHandle>,
}Expand description
Controls how uploads are scheduled and how progress is reported.
Fields§
§chunk_size_bytes: usize§large_layer_threshold_bytes: u64§medium_layer_threshold_mb: f64§rate_limit_delay_ms: u64§concurrency: usize§progress: ProgressOptions§progress_reporter: Option<ProgressReporterHandle>Implementations§
Source§impl LayerUploadOptions
impl LayerUploadOptions
pub fn normalized(self) -> Self
Trait Implementations§
Source§impl Clone for LayerUploadOptions
impl Clone for LayerUploadOptions
Auto Trait Implementations§
impl !RefUnwindSafe for LayerUploadOptions
impl !UnwindSafe for LayerUploadOptions
impl Freeze for LayerUploadOptions
impl Send for LayerUploadOptions
impl Sync for LayerUploadOptions
impl Unpin for LayerUploadOptions
impl UnsafeUnpin for LayerUploadOptions
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