Flock

Trait Flock 

Source
pub trait Flock {
    // Required method
    fn flock(&self, arg: FlockArg) -> Result<bool>;
}

Required Methods§

Source

fn flock(&self, arg: FlockArg) -> Result<bool>

Implementations on Foreign Types§

Source§

impl Flock for File

Source§

fn flock(&self, arg: FlockArg) -> Result<bool>

Locks a segment that spans the maximum possible range of offsets.

Implementors§