fn check_lock(&mut self, key: &Key, ts: u64) -> Result<()> {
        if let Some(lock) = self.load_lock(key)? {
            return super::util::check_lock(key, ts, &lock);
        }
        Ok(())
    }
/// Checks if there is a lock which blocks reading the key at the given ts.
/// Returns the blocking lock as the `Err` variant.
Checks if there is a lock which blocks reading the key at the given ts.
Returns the blocking lock as the `Err` variant.
Checks if there is a lock which blocks reading the key at the given ts . Returns the blocking lock as the ` Err ` variant .
fn check_lock(&mut self, key: &Key, ts: u64) -> Result<()> {
        if let Some(lock) = self.load_lock(key)? {
            return super::util::check_lock(key, ts, &lock);
        }
        Ok(())
    }
fn check_lock ( & mut self , key : & Key , ts : u64 ) -> Result < ( ) > { if let Some ( lock ) = self . load_lock ( key ) ? { return super :: util :: check_lock ( key , ts , & lock ) ; } Ok ( ( ) ) }
Checks if there is a lock which blocks reading the key at the given ts.
Checks if there is a lock which blocks reading the key at the given ts .
&mut self
key
&Key
ts
u64
&mut self
key
&Key
ts
u64