tokio 1.48.0

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.
Documentation
1
2
3
4
5
6
/// A lock (mutex) yielding generic data.
pub(crate) trait Lock<T> {
    type Handle: AsMut<T>;

    fn lock(self) -> Self::Handle;
}