pub struct TransferSnapshot {
pub queued_groups: usize,
pub active_groups: usize,
pub active_keys: Vec<(Direction, String)>,
}Expand description
Lightweight runtime snapshot for monitoring current scheduler state.
Fields§
§queued_groups: usizeNumber of queued transfer groups waiting to run.
Range: >= 0.
active_groups: usizeNumber of active transfer groups currently running.
Range: >= 0.
active_keys: Vec<(Direction, String)>Keys of active groups as (direction, dedup_key).
Trait Implementations§
Source§impl Clone for TransferSnapshot
impl Clone for TransferSnapshot
Source§fn clone(&self) -> TransferSnapshot
fn clone(&self) -> TransferSnapshot
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 Freeze for TransferSnapshot
impl RefUnwindSafe for TransferSnapshot
impl Send for TransferSnapshot
impl Sync for TransferSnapshot
impl Unpin for TransferSnapshot
impl UnsafeUnpin for TransferSnapshot
impl UnwindSafe for TransferSnapshot
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