fn try_lock(&mut self, uid: Uid) -> bool {
        if self.lock == UID_UNLOCKED {
            self.lock = uid;
            true
        } else {
            false
        }
    }
/// try to lock this entry with 'uid'
/// return true if it could be locked
try to lock this entry with 'uid'
return true if it could be locked
try to lock this entry with ' uid ' return true if it could be locked
fn try_lock(&mut self, uid: Uid) -> bool {
        if self.lock == UID_UNLOCKED {
            self.lock = uid;
            true
        } else {
            false
        }
    }
fn try_lock ( & mut self , uid : Uid ) -> bool { if self . lock == UID_UNLOCKED { self . lock = uid ; true } else { false } }
try to lock this entry with 'uid'
return true if it could be locked
try to lock this entry with ' uid ' return true if it could be locked
&mut self
uid
Uid