pub struct BaseState {
pub max_conn: AtomicUsize,
pub cur_conn: AtomicUsize,
pub keepalive: AtomicU64,
pub lb_strategy: Arc<dyn LbStrategy>,
}Fields§
§max_conn: AtomicUsize§cur_conn: AtomicUsize§keepalive: AtomicU64§lb_strategy: Arc<dyn LbStrategy>Implementations§
Auto Trait Implementations§
impl !Freeze for BaseState
impl !RefUnwindSafe for BaseState
impl Send for BaseState
impl Sync for BaseState
impl Unpin for BaseState
impl !UnwindSafe for BaseState
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