pub struct Consistant {
pub replicas_num: usize,
/* private fields */
}
Expand description
Consistant holds the information of the hash ring.
Fields§
§replicas_num: usize
Implementations§
Trait Implementations§
Source§impl Debug for Consistant
impl Debug for Consistant
Source§impl Default for Consistant
impl Default for Consistant
Source§fn default() -> Consistant
fn default() -> Consistant
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for Consistant
impl RefUnwindSafe for Consistant
impl !Send for Consistant
impl !Sync for Consistant
impl Unpin for Consistant
impl UnwindSafe for Consistant
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