Struct Lock
rustc_data_structures::flock
pub struct Lock { /* fields omitted */ }
impl Lock
pub fn new(p: &Path, wait: bool, create: bool, exclusive: bool) -> Result<Lock>
pub fn panicking_new( p: &Path, wait: bool, create: bool, exclusive: bool) -> Lock
impl Debug for Lock
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Send for Lock
impl Sync for Lock