pub struct NearRefConfig {
pub max_delta_bytes: usize,
pub min_body_bytes: usize,
}Expand description
Configuration knobs for delta extraction.
Fields§
§max_delta_bytes: usizeMaximum total bytes in the rendered delta payload (status: a→b, …).
min_body_bytes: usizeMinimum input body length (bytes) for which a near-ref hint is worth emitting. Below this, the full body is cheaper than the extraction work.
Trait Implementations§
Source§impl Clone for NearRefConfig
impl Clone for NearRefConfig
Source§fn clone(&self) -> NearRefConfig
fn clone(&self) -> NearRefConfig
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 moreSource§impl Debug for NearRefConfig
impl Debug for NearRefConfig
Source§impl Default for NearRefConfig
impl Default for NearRefConfig
impl Copy for NearRefConfig
Auto Trait Implementations§
impl Freeze for NearRefConfig
impl RefUnwindSafe for NearRefConfig
impl Send for NearRefConfig
impl Sync for NearRefConfig
impl Unpin for NearRefConfig
impl UnsafeUnpin for NearRefConfig
impl UnwindSafe for NearRefConfig
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