Struct LimitInfo
pub struct LimitInfo {
pub name: String,
pub concurrent: u32,
pub per_second: f64,
pub in_use: u32,
pub waiting: usize,
}Expand description
A limit and its permits right now (crate::Engine::limits).
Fields§
§name: String§concurrent: u32Permits held at once; 0 means no concurrency limit.
per_second: f64Permits started per second; 0 means no rate limit.
in_use: u32Permits held now.
waiting: usizeSteps of this process waiting for a permit.
Trait Implementations§
impl StructuralPartialEq for LimitInfo
Auto Trait Implementations§
impl Freeze for LimitInfo
impl RefUnwindSafe for LimitInfo
impl Send for LimitInfo
impl Sync for LimitInfo
impl Unpin for LimitInfo
impl UnsafeUnpin for LimitInfo
impl UnwindSafe for LimitInfo
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