pub struct EstimationConfig {
pub enable_adaptive_bounds: bool,
pub max_bound_expansions: u32,
pub tolerance_bps: u32,
pub max_iterations: u32,
}Expand description
Configuration for size estimation algorithms.
Controls the behavior of the binary search algorithm including convergence criteria and adaptive bound expansion.
Fields§
§enable_adaptive_bounds: boolEnable adaptive upper bound expansion during binary search (default: true).
max_bound_expansions: u32Maximum number of times to expand upper bound (default: 10).
tolerance_bps: u32Binary search tolerance in basis points (default: 1).
max_iterations: u32Maximum iterations for binary search (default: 50).
Trait Implementations§
Source§impl Clone for EstimationConfig
impl Clone for EstimationConfig
Source§fn clone(&self) -> EstimationConfig
fn clone(&self) -> EstimationConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EstimationConfig
impl Debug for EstimationConfig
Auto Trait Implementations§
impl Freeze for EstimationConfig
impl RefUnwindSafe for EstimationConfig
impl Send for EstimationConfig
impl Sync for EstimationConfig
impl Unpin for EstimationConfig
impl UnsafeUnpin for EstimationConfig
impl UnwindSafe for EstimationConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more