pub struct TemporalCouplingStats {
pub paired_operations: HashMap<String, PairedOperationStats>,
pub lifecycle_methods: HashMap<LifecyclePhase, Vec<String>>,
pub state_checks: Vec<String>,
pub total_issues: usize,
pub drop_impls: Vec<String>,
pub guard_patterns: Vec<String>,
pub async_spawns: usize,
pub async_joins: usize,
pub unsafe_allocations: Vec<String>,
pub builder_patterns: Vec<String>,
}Expand description
Statistics about temporal coupling
Fields§
§paired_operations: HashMap<String, PairedOperationStats>Paired operations found
lifecycle_methods: HashMap<LifecyclePhase, Vec<String>>Lifecycle methods by phase
state_checks: Vec<String>State check patterns
total_issues: usizeTotal issues detected
drop_impls: Vec<String>Rust-specific: Types with Drop impl
guard_patterns: Vec<String>Rust-specific: Guard patterns used
async_spawns: usizeRust-specific: Async spawn count
async_joins: usizeRust-specific: Async join count
unsafe_allocations: Vec<String>Rust-specific: Unsafe blocks with allocation
builder_patterns: Vec<String>Rust-specific: Builder patterns detected
Trait Implementations§
Source§impl Clone for TemporalCouplingStats
impl Clone for TemporalCouplingStats
Source§fn clone(&self) -> TemporalCouplingStats
fn clone(&self) -> TemporalCouplingStats
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 moreSource§impl Debug for TemporalCouplingStats
impl Debug for TemporalCouplingStats
Source§impl Default for TemporalCouplingStats
impl Default for TemporalCouplingStats
Source§fn default() -> TemporalCouplingStats
fn default() -> TemporalCouplingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TemporalCouplingStats
impl RefUnwindSafe for TemporalCouplingStats
impl Send for TemporalCouplingStats
impl Sync for TemporalCouplingStats
impl Unpin for TemporalCouplingStats
impl UnwindSafe for TemporalCouplingStats
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> 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