pub struct ConsistentHash { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Balancer for ConsistentHash
impl Balancer for ConsistentHash
fn pick<'a>(&self, ctx: &'a BalanceCtx<'a>) -> Option<usize>
fn on_start(&self, _event: &StartEvent<'_>)
fn on_result(&self, _event: &ResultEvent<'_>)
Auto Trait Implementations§
impl !Freeze for ConsistentHash
impl RefUnwindSafe for ConsistentHash
impl Send for ConsistentHash
impl Sync for ConsistentHash
impl Unpin for ConsistentHash
impl UnsafeUnpin for ConsistentHash
impl UnwindSafe for ConsistentHash
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