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