pub struct DccConfig {
pub tick_rate: u32,
pub telemetry_buffer_size: usize,
pub agent_lock_timeout_ms: u64,
}Expand description
Configuration for the DCC Service.
Fields§
§tick_rate: u32Frequency of the analysis loop in Hz.
telemetry_buffer_size: usizeMaximum number of telemetry events to buffer. If the buffer is full, new events are dropped.
agent_lock_timeout_ms: u64Timeout for acquiring locks on agents during negotiation. If an agent lock cannot be acquired within this time, the agent is skipped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DccConfig
impl RefUnwindSafe for DccConfig
impl Send for DccConfig
impl Sync for DccConfig
impl Unpin for DccConfig
impl UnwindSafe for DccConfig
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