pub struct ResourceLockStats {
pub total_locks: usize,
pub build_locks: usize,
pub test_locks: usize,
pub buildtest_locks: usize,
pub git_locks: usize,
}Expand description
Statistics about current resource locks
Fields§
§total_locks: usizeTotal number of locks
build_locks: usizeNumber of build locks
test_locks: usizeNumber of test locks
buildtest_locks: usizeNumber of build+test locks
git_locks: usizeNumber of git-related locks
Trait Implementations§
Source§impl Clone for ResourceLockStats
impl Clone for ResourceLockStats
Source§fn clone(&self) -> ResourceLockStats
fn clone(&self) -> ResourceLockStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceLockStats
impl RefUnwindSafe for ResourceLockStats
impl Send for ResourceLockStats
impl Sync for ResourceLockStats
impl Unpin for ResourceLockStats
impl UnsafeUnpin for ResourceLockStats
impl UnwindSafe for ResourceLockStats
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