pub enum RackRing {
Continuum,
RandomSlicing(RandomSlices),
}Expand description
Per-rack ring storage. Either the historical token continuum
(a sorted Vec<Continuum>) or a RandomSlices table.
The dispatcher consults whichever variant is present without
caring which one it is; the engine produces only one shape
per rack at a time.
Variants§
Continuum
Historical per-peer token continuum.
RandomSlicing(RandomSlices)
Random-slicing partition table.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RackRing
impl RefUnwindSafe for RackRing
impl Send for RackRing
impl Sync for RackRing
impl Unpin for RackRing
impl UnsafeUnpin for RackRing
impl UnwindSafe for RackRing
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