pub struct Limits {
pub concurrency: IntRange,
pub upload_window: IntRange,
pub download_window: IntRange,
pub chunk_size: IntRange,
pub max_upload_size: u64,
pub max_retries: u64,
pub timeout_ms: u64,
}Expand description
Tuning-parameter ranges the server will tolerate.
maxUploadSize, maxRetries and timeoutMs are plain scalar limits; the
rest are range hints with the server-chosen default first in the payload.
Fields§
§concurrency: IntRangeCross-file fan-out / global in-flight request cap.
upload_window: IntRangePer-file upload in-flight chunk window.
download_window: IntRangePer-file download in-flight chunk window.
chunk_size: IntRangeUpload chunk size (bytes).
max_upload_size: u64Hard cap on a single upload body (bytes).
max_retries: u64Per-chunk retry budget.
timeout_ms: u64Request timeout the server will honor (ms).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Limits
impl<'de> Deserialize<'de> for Limits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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