pub struct ThreadSafetyErrorInfo {
pub violation_type: String,
pub thread_ids: Vec<String>,
pub resource_name: Option<String>,
pub lock_state: Option<String>,
pub deadlock_info: Option<String>,
}Expand description
Thread safety error information
Fields§
§violation_type: StringType of thread safety violation
thread_ids: Vec<String>Thread IDs involved
resource_name: Option<String>Resource being contended
lock_state: Option<String>Lock state
deadlock_info: Option<String>Deadlock detection info
Trait Implementations§
Source§impl Clone for ThreadSafetyErrorInfo
impl Clone for ThreadSafetyErrorInfo
Source§fn clone(&self) -> ThreadSafetyErrorInfo
fn clone(&self) -> ThreadSafetyErrorInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThreadSafetyErrorInfo
impl RefUnwindSafe for ThreadSafetyErrorInfo
impl Send for ThreadSafetyErrorInfo
impl Sync for ThreadSafetyErrorInfo
impl Unpin for ThreadSafetyErrorInfo
impl UnsafeUnpin for ThreadSafetyErrorInfo
impl UnwindSafe for ThreadSafetyErrorInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more