pub struct CircularReferenceInfo {
pub cycle_objects: Vec<usize>,
pub detection_timestamp: u64,
pub cycle_type: CircularReferenceType,
pub leak_risk: LeakRiskLevel,
pub resolution_suggestion: String,
}Expand description
Circular reference information.
Fields§
§cycle_objects: Vec<usize>Objects involved in the cycle.
detection_timestamp: u64Cycle detection timestamp.
cycle_type: CircularReferenceTypeCycle type.
leak_risk: LeakRiskLevelPotential memory leak risk.
resolution_suggestion: StringSuggested resolution.
Trait Implementations§
Source§impl Clone for CircularReferenceInfo
impl Clone for CircularReferenceInfo
Source§fn clone(&self) -> CircularReferenceInfo
fn clone(&self) -> CircularReferenceInfo
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 CircularReferenceInfo
impl Debug for CircularReferenceInfo
Source§impl<'de> Deserialize<'de> for CircularReferenceInfo
impl<'de> Deserialize<'de> for CircularReferenceInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CircularReferenceInfo> for CircularReferenceInfo
impl From<CircularReferenceInfo> for CircularReferenceInfo
Source§fn from(old: CircularReferenceInfo) -> Self
fn from(old: CircularReferenceInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CircularReferenceInfo
impl PartialEq for CircularReferenceInfo
Source§impl Serialize for CircularReferenceInfo
impl Serialize for CircularReferenceInfo
impl StructuralPartialEq for CircularReferenceInfo
Auto Trait Implementations§
impl Freeze for CircularReferenceInfo
impl RefUnwindSafe for CircularReferenceInfo
impl Send for CircularReferenceInfo
impl Sync for CircularReferenceInfo
impl Unpin for CircularReferenceInfo
impl UnsafeUnpin for CircularReferenceInfo
impl UnwindSafe for CircularReferenceInfo
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