Crate lockable

source ·
Expand description

Traits for items that are “Lockable”, e.g., Mutexes.

Traits

  • A trait representing types that can be locked, e.g., Mutexes.
  • An extension of the Lockable trait that adds the into_inner() method only for types T that are Sized.