Docs.rs
locktick-0.4.0
locktick 0.4.0
Permalink
Docs.rs crate page
CC0-1.0
Links
Repository
crates.io
Source
Owners
ljedrz
Dependencies
backtrace ^0.3
normal
parking_lot ^0.12
normal
optional
simple_moving_average ^1
normal
tokio ^1
normal
optional
tracing ^0.1
normal
optional
serial_test ^3
dev
tokio ^1
dev
Versions
18.42%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate locktick
locktick
0.4.0
All Items
Crate Items
Modules
Structs
Enums
Functions
Crate
locktick
Copy item path
Source
Modules
§
std
Structs
§
Guard
Info
Contains data and statistics related to a single guard.
Location
Points to the filesystem location where a lock or guard was created.
Lock
Guard
A wrapper for the lock guard produced when working with a lock. It only contains the guard itself and metadata that allows it to be distinguished from other guards belonging to a single lock.
Lock
Info
Contains all the details related to a given lock, and it can only be obtained through a call to
lock_snapshots
.
Enums
§
Guard
Kind
The type of the guard that was created when working with a lock.
Lock
Kind
The type of the lock; either a
Mutex
or an
RwLock
.
Functions
§
lock_
snapshots
Returns a vector containing snapshots of the data related to all the locks.