pub trait HintStore {
// Required methods
fn store(
&mut self,
hint: Hint,
required_by_consistency: bool,
now_millis: u64,
) -> Result<HintOutcome, HintError>;
fn drain_for(
&mut self,
target: &ClusterNodeId,
) -> Result<Vec<Hint>, HintError>;
}Expand description
Bounded hint storage contract.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".