pub trait Enact {
    // Required method
    fn enact(self) -> Result<(), LockError>;
}

Required Methods§

source

fn enact(self) -> Result<(), LockError>

Enact a lock. This should generally be infallible if called immediately after being received.

Implementations on Foreign Types§

source§

impl Enact for Infallible

Implementors§