Trait cluFlock::unlock::WaitFlockUnlock
source · [−]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
unsafe fn unlock_no_result(&mut self)
unsafe fn unlock_no_result(&mut self)
Destroy the ’flock ’lock without checking for errors, this function is used in Drop.