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

Required Methods§

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

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

Implementations on Foreign Types§

§

impl Enact for Infallible

§

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

Implementors§