pub struct HotspotThresholds {
pub max_station_entities: usize,
pub max_station_subscribers: usize,
pub max_queued_events: usize,
pub max_estimated_bytes: usize,
pub max_tick_cost_units: u64,
pub max_cell_pressure: u64,
}Expand description
Thresholds used to classify hotspot pressure.
Fields§
§max_station_entities: usizeMaximum total entities before a station is considered hot.
max_station_subscribers: usizeMaximum subscribers before a station is considered hot.
max_queued_events: usizeMaximum queued events before a station is considered hot.
max_estimated_bytes: usizeMaximum estimated bytes before a station is considered hot.
max_tick_cost_units: u64Maximum tick cost units before a station is considered hot.
max_cell_pressure: u64Maximum pressure score for a single cell before split is suggested.
Trait Implementations§
Source§impl Clone for HotspotThresholds
impl Clone for HotspotThresholds
Source§fn clone(&self) -> HotspotThresholds
fn clone(&self) -> HotspotThresholds
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 moreimpl Copy for HotspotThresholds
Source§impl Debug for HotspotThresholds
impl Debug for HotspotThresholds
Source§impl Default for HotspotThresholds
impl Default for HotspotThresholds
impl Eq for HotspotThresholds
Source§impl PartialEq for HotspotThresholds
impl PartialEq for HotspotThresholds
impl StructuralPartialEq for HotspotThresholds
Auto Trait Implementations§
impl Freeze for HotspotThresholds
impl RefUnwindSafe for HotspotThresholds
impl Send for HotspotThresholds
impl Sync for HotspotThresholds
impl Unpin for HotspotThresholds
impl UnsafeUnpin for HotspotThresholds
impl UnwindSafe for HotspotThresholds
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