pub struct ThrottleState {
pub leader_out: Arc<TokenBucket>,
pub follower_in: Arc<TokenBucket>,
pub alter_log_dirs: Arc<TokenBucket>,
}Expand description
Broker-wide throttle state for replica traffic and intra-broker log moves.
Fields§
§leader_out: Arc<TokenBucket>§follower_in: Arc<TokenBucket>§alter_log_dirs: Arc<TokenBucket>Implementations§
Source§impl ThrottleState
impl ThrottleState
Trait Implementations§
Source§impl Debug for ThrottleState
impl Debug for ThrottleState
Auto Trait Implementations§
impl !RefUnwindSafe for ThrottleState
impl !UnwindSafe for ThrottleState
impl Freeze for ThrottleState
impl Send for ThrottleState
impl Sync for ThrottleState
impl Unpin for ThrottleState
impl UnsafeUnpin for ThrottleState
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