pub struct RangeInfo {
pub ranges: Vec<Range>,
}Expand description
Represents information about hash ranges in the consistent hashing ring.
This struct contains details about the ranges of hash values managed by the ring, including the number of keys and the items stored within each range.
Fields§
§ranges: Vec<Range>A list of hash ranges managed by the ring.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RangeInfo
impl RefUnwindSafe for RangeInfo
impl Send for RangeInfo
impl Sync for RangeInfo
impl Unpin for RangeInfo
impl UnwindSafe for RangeInfo
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