Trait happylock::Keyable

source ·
pub unsafe trait Keyable: Sealed { }
Expand description

Allows the type to be used as a key for a lock

§Safety

Only one value which implements this trait may be allowed to exist at a time. Creating a new Keyable value requires making any other Keyable values invalid.

Implementors§