Debian Codegraph @

third_party/rust/tokio/src/runtime/scheduler/lock.rs

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