pub struct SessionCounters { /* private fields */ }Expand description
Atomic counter array shared between session and torrent actors.
All values are AtomicI64 — counters are incremented, gauges are set.
The struct is Send + Sync (auto-derived from AtomicI64).
Implementations§
Source§impl SessionCounters
impl SessionCounters
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SessionCounters
impl RefUnwindSafe for SessionCounters
impl Send for SessionCounters
impl Sync for SessionCounters
impl Unpin for SessionCounters
impl UnsafeUnpin for SessionCounters
impl UnwindSafe for SessionCounters
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