pub struct AdaptiveBatchingStatus {
pub calibrated: bool,
pub target_p50_ms: Option<f64>,
pub wait_ms: f64,
pub batch_cost: u64,
pub p50_ms: Option<f64>,
pub headroom_ms: Option<f64>,
pub fill_ratio: Option<f64>,
}Expand description
Adaptive batching state. Absent entirely when adaptive batching is off.
Fields§
§calibrated: bool§target_p50_ms: Option<f64>§wait_ms: f64§batch_cost: u64§p50_ms: Option<f64>§headroom_ms: Option<f64>§fill_ratio: Option<f64>Trait Implementations§
Source§impl Clone for AdaptiveBatchingStatus
impl Clone for AdaptiveBatchingStatus
Source§fn clone(&self) -> AdaptiveBatchingStatus
fn clone(&self) -> AdaptiveBatchingStatus
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 AdaptiveBatchingStatus
impl Debug for AdaptiveBatchingStatus
Source§impl Default for AdaptiveBatchingStatus
impl Default for AdaptiveBatchingStatus
Source§fn default() -> AdaptiveBatchingStatus
fn default() -> AdaptiveBatchingStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdaptiveBatchingStatus
impl<'de> Deserialize<'de> for AdaptiveBatchingStatus
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
Source§impl PartialEq for AdaptiveBatchingStatus
impl PartialEq for AdaptiveBatchingStatus
Source§impl Serialize for AdaptiveBatchingStatus
impl Serialize for AdaptiveBatchingStatus
impl StructuralPartialEq for AdaptiveBatchingStatus
Auto Trait Implementations§
impl Freeze for AdaptiveBatchingStatus
impl RefUnwindSafe for AdaptiveBatchingStatus
impl Send for AdaptiveBatchingStatus
impl Sync for AdaptiveBatchingStatus
impl Unpin for AdaptiveBatchingStatus
impl UnsafeUnpin for AdaptiveBatchingStatus
impl UnwindSafe for AdaptiveBatchingStatus
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