Struct no_deadlocks::lock_manager::LockManager
source · pub struct LockManager(/* private fields */);
Implementations§
source§impl LockManager
impl LockManager
pub fn new() -> Self
pub fn with_analysis_timeout(analysis_timeout: Duration) -> Self
pub fn analysis_timeout(&self) -> Duration
pub fn get_global_manager() -> Arc<Self>
pub fn create_lock(&self) -> usize
pub fn remove_lock(&self, key: &usize)
Trait Implementations§
source§impl Default for LockManager
impl Default for LockManager
source§impl Deref for LockManager
impl Deref for LockManager
impl Send for LockManager
impl Sync for LockManager
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more