Skip to main content

LockStateChecker

Trait LockStateChecker 

Source
pub trait LockStateChecker: Debug {
    // Required method
    fn test(&self, value: LockState) -> bool;
}
Expand description

A lock state checker.

Required Methods§

Source

fn test(&self, value: LockState) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§