pub struct LatencySensitivityLearner { /* private fields */ }Expand description
Learner that derives default latency sensitivity hints from run history.
Implementations§
Source§impl LatencySensitivityLearner
impl LatencySensitivityLearner
Sourcepub fn new(agent_id: impl Into<String>, config: SensitivityConfig) -> Self
pub fn new(agent_id: impl Into<String>, config: SensitivityConfig) -> Self
Create a new latency-sensitivity learner.
§Parameters
agent_id: Agent identifier whose trie state should be updated.config: Sensitivity-derivation configuration for the trie builder.
§Returns
A configured LatencySensitivityLearner.
Trait Implementations§
Source§impl Learner for LatencySensitivityLearner
impl Learner for LatencySensitivityLearner
Auto Trait Implementations§
impl Freeze for LatencySensitivityLearner
impl RefUnwindSafe for LatencySensitivityLearner
impl Send for LatencySensitivityLearner
impl Sync for LatencySensitivityLearner
impl Unpin for LatencySensitivityLearner
impl UnsafeUnpin for LatencySensitivityLearner
impl UnwindSafe for LatencySensitivityLearner
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