pub struct Random<T>{ /* private fields */ }Expand description
A load balancer that randomly selects an entry.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Random<T>
impl<T> !UnwindSafe for Random<T>
impl<T> Freeze for Random<T>
impl<T> Send for Random<T>
impl<T> Sync for Random<T>
impl<T> Unpin for Random<T>
impl<T> UnsafeUnpin for Random<T>
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