pub struct DebugDispatchState {
pub acquire_total: i64,
pub acquire_none_total: i64,
pub acquire_us: i64,
pub notify_wakeup_total: i64,
pub pieces_queued: u32,
pub pieces_inflight: u32,
}Expand description
Dispatch-level diagnostic counters (session-wide + per-torrent).
Fields§
§acquire_total: i64Total acquire calls.
acquire_none_total: i64Acquire calls that returned None (no block available).
acquire_us: i64Cumulative acquire latency in microseconds.
notify_wakeup_total: i64Total notify wakeup events.
pieces_queued: u32Pieces still queued for dispatch (per-torrent).
pieces_inflight: u32Pieces currently in-flight (per-torrent).
Trait Implementations§
Source§impl Clone for DebugDispatchState
impl Clone for DebugDispatchState
Source§fn clone(&self) -> DebugDispatchState
fn clone(&self) -> DebugDispatchState
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 moreSource§impl Debug for DebugDispatchState
impl Debug for DebugDispatchState
Source§impl Default for DebugDispatchState
impl Default for DebugDispatchState
Source§fn default() -> DebugDispatchState
fn default() -> DebugDispatchState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DebugDispatchState
impl RefUnwindSafe for DebugDispatchState
impl Send for DebugDispatchState
impl Sync for DebugDispatchState
impl Unpin for DebugDispatchState
impl UnsafeUnpin for DebugDispatchState
impl UnwindSafe for DebugDispatchState
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