pub trait ExclusiveFlockFn: Debug {
    type ExclusiveLockFn: FlockLock;

    fn try_lock_fn<A: FnMut(Self::ExclusiveLockFn) -> R, R>(
        self,
        f: A
    ) -> Result<R, Error>; fn wait_lock_fn<A: FnMut(Self::ExclusiveLockFn) -> R, R>(
        self,
        f: A
    ) -> Result<R, Error>; }

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§