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