pub trait WaitFlockUnlock {
    unsafe fn unlock_no_result(&mut self);
unsafe fn unlock_fn<F: FnOnce() -> R, FE: FnOnce(Error) -> R, R>(
        &mut self,
        next: F,
        errf: FE
    ) -> R; unsafe fn unlock(&mut self) -> Result<(), Error> { ... } }
Expand description

Generic describing the function of destroying ‘flock’ locks.

Required methods

Destroy the ’flock ’lock without checking for errors, this function is used in Drop.

Destroy ‘flock’ lock, also check errors.

Provided methods

Destroy ‘flock’ lock, also check errors.

Implementors