pub struct FlushLimiter {
semaphore: Arc<Semaphore>,
}Expand description
Shared execution budget. One permit represents one complete flush, not one RPC.
Fields§
§semaphore: Arc<Semaphore>Implementations§
Source§impl FlushLimiter
impl FlushLimiter
Trait Implementations§
Source§impl Clone for FlushLimiter
impl Clone for FlushLimiter
Source§fn clone(&self) -> FlushLimiter
fn clone(&self) -> FlushLimiter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FlushLimiter
impl !UnwindSafe for FlushLimiter
impl Freeze for FlushLimiter
impl Send for FlushLimiter
impl Sync for FlushLimiter
impl Unpin for FlushLimiter
impl UnsafeUnpin for FlushLimiter
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