[−][src]Trait sharded::Lock
Generic locking implementation.
Generic locking implementation.
type ReadGuardtype WriteGuardimpl<T> Lock<T> for StdRwLock<T>[src]type ReadGuard = RwLockReadGuard<'b, T>type WriteGuard = RwLockWriteGuard<'b, T>fn new(t: T) -> Self[src]fn read(&self) -> Self::ReadGuard[src]fn write(&self) -> Self::WriteGuard[src]