pub struct Interval<N: KeyspaceNode> { /* private fields */ }Expand description
A half-open interval of the keyspace with responsible nodes assigned.
Range bounded inclusively below and exclusively above i.e.
[start..end).
Implementations§
Trait Implementations§
Source§impl<N: KeyspaceNode> Clone for Interval<N>
impl<N: KeyspaceNode> Clone for Interval<N>
impl<N: Eq + KeyspaceNode> Eq for Interval<N>
impl<N: KeyspaceNode> StructuralPartialEq for Interval<N>
Auto Trait Implementations§
impl<N> Freeze for Interval<N>
impl<N> RefUnwindSafe for Interval<N>where
N: RefUnwindSafe,
impl<N> Send for Interval<N>
impl<N> Sync for Interval<N>
impl<N> Unpin for Interval<N>
impl<N> UnwindSafe for Interval<N>where
N: RefUnwindSafe,
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