Trait LockWrite

Source
pub trait LockWrite: AsOpenFile + Write {
    // Required methods
    fn lock_write(self) -> LockWriteResult<Self>
       where Self: Sized;
    fn try_lock_write(self) -> LockWriteResult<Self>
       where Self: Sized;
}

Required Methods§

Source

fn lock_write(self) -> LockWriteResult<Self>
where Self: Sized,

Source

fn try_lock_write(self) -> LockWriteResult<Self>
where Self: Sized,

Implementors§

Source§

impl<T> LockWrite for T
where T: AsOpenFile + Write,