pub trait AsyncCmEquivalentRange: Sized + AsyncCmRange {
// Required method
fn mark_range_equivalent<Q>(
&mut self,
range: impl RangeBounds<Q>,
) -> impl Future<Output = ()>
where Self::Key: Borrow<Q>,
Q: Hash + Eq + ?Sized;
}Expand description
An optimized version of the AsyncCmRange trait that if your conflict manager is depend on hash.
Required Methods§
Sourcefn mark_range_equivalent<Q>(
&mut self,
range: impl RangeBounds<Q>,
) -> impl Future<Output = ()>
fn mark_range_equivalent<Q>( &mut self, range: impl RangeBounds<Q>, ) -> impl Future<Output = ()>
Mark the range is read.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".