pub struct PQueueStats {
pub uptime: Duration,
pub version: String,
pub updates: i64,
pub items: i64,
pub pools: i64,
}Expand description
Statistics for the priority queue, returned by the stats method.
Fields§
§uptime: DurationThe time since the priority queue was instantiated
version: StringThe version of the priority queue lib
updates: i64The count of update calls made to the queue since it was started
items: i64The count of items currently in the queue
pools: i64The count of separate score pools in the queue (a pool is just a set of items with the same score)
Trait Implementations§
Source§impl Clone for PQueueStats
impl Clone for PQueueStats
Auto Trait Implementations§
impl Freeze for PQueueStats
impl RefUnwindSafe for PQueueStats
impl Send for PQueueStats
impl Sync for PQueueStats
impl Unpin for PQueueStats
impl UnsafeUnpin for PQueueStats
impl UnwindSafe for PQueueStats
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