pub struct RuntimeThreadLocalDebugStats {
pub active_runtimes_len: usize,
pub active_runtimes_cap: usize,
pub registered_runtimes_len: usize,
pub registered_runtimes_cap: usize,
pub deferred_state_releases_len: usize,
pub deferred_state_releases_cap: usize,
}Expand description
Sizes of the runtime registries of one thread, for leak and memory checks. A _len field counts
entries and a _cap field the capacity reserved.
Fields§
§active_runtimes_len: usizeRuntimes currently installed as active on this thread.
active_runtimes_cap: usizeCapacity reserved for the active runtimes.
registered_runtimes_len: usizeRuntimes registered on this thread.
registered_runtimes_cap: usizeCapacity reserved for the registered runtimes.
deferred_state_releases_len: usizeState releases waiting for the end of a teardown scope.
deferred_state_releases_cap: usizeCapacity reserved for the deferred state releases.
Trait Implementations§
Source§impl Clone for RuntimeThreadLocalDebugStats
impl Clone for RuntimeThreadLocalDebugStats
impl Copy for RuntimeThreadLocalDebugStats
Source§impl Debug for RuntimeThreadLocalDebugStats
impl Debug for RuntimeThreadLocalDebugStats
impl Eq for RuntimeThreadLocalDebugStats
impl StructuralPartialEq for RuntimeThreadLocalDebugStats
Auto Trait Implementations§
impl Freeze for RuntimeThreadLocalDebugStats
impl RefUnwindSafe for RuntimeThreadLocalDebugStats
impl Send for RuntimeThreadLocalDebugStats
impl Sync for RuntimeThreadLocalDebugStats
impl Unpin for RuntimeThreadLocalDebugStats
impl UnsafeUnpin for RuntimeThreadLocalDebugStats
impl UnwindSafe for RuntimeThreadLocalDebugStats
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