pub struct DeadlockDetectorConfig {
pub detection_interval: Duration,
pub max_hold_time: Duration,
pub enabled: bool,
}Expand description
Deadlock detector configuration.
Fields§
§detection_interval: DurationDetection interval.
max_hold_time: DurationMaximum lock hold time before warning.
enabled: boolWhether detection is enabled.
Trait Implementations§
Source§impl Clone for DeadlockDetectorConfig
impl Clone for DeadlockDetectorConfig
Source§impl Debug for DeadlockDetectorConfig
impl Debug for DeadlockDetectorConfig
Auto Trait Implementations§
impl Freeze for DeadlockDetectorConfig
impl RefUnwindSafe for DeadlockDetectorConfig
impl Send for DeadlockDetectorConfig
impl Sync for DeadlockDetectorConfig
impl Unpin for DeadlockDetectorConfig
impl UnsafeUnpin for DeadlockDetectorConfig
impl UnwindSafe for DeadlockDetectorConfig
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