Files
alkane-toolkit/vendor/tokio/src/runtime/scheduler/lock.rs
T

7 lines
134 B
Rust

/// A lock (mutex) yielding generic data.
pub(crate) trait Lock<T> {
type Handle: AsMut<T>;
fn lock(self) -> Self::Handle;
}