Trait LockRead

Source
pub trait LockRead: AsOpenFile + Read {
    // Required methods
    fn lock_read(self) -> LockReadResult<Self>
       where Self: Sized;
    fn try_lock_read(self) -> LockReadResult<Self>
       where Self: Sized;
}

Required Methods§

Source

fn lock_read(self) -> LockReadResult<Self>
where Self: Sized,

Source

fn try_lock_read(self) -> LockReadResult<Self>
where Self: Sized,

Implementors§

Source§

impl<T> LockRead for T
where T: AsOpenFile + Read,