pub struct UnsafeReport {Show 13 fields
pub passport_id: String,
pub allocation_ptr: String,
pub var_name: String,
pub type_name: String,
pub size_bytes: usize,
pub created_at: u64,
pub updated_at: u64,
pub status: String,
pub lifecycle_events: Vec<LifecycleEventInfo>,
pub cross_boundary_events: Vec<BoundaryEventInfo>,
pub is_leaked: bool,
pub risk_level: String,
pub risk_factors: Vec<String>,
}Expand description
Unsafe/FFI report
Fields§
§passport_id: StringPassport ID
allocation_ptr: StringAllocation pointer
var_name: StringVariable name
type_name: StringType name
size_bytes: usizeSize in bytes
created_at: u64Created at timestamp
updated_at: u64Last update timestamp
status: StringStatus at shutdown
lifecycle_events: Vec<LifecycleEventInfo>Lifecycle events
cross_boundary_events: Vec<BoundaryEventInfo>Cross-boundary events
is_leaked: boolWhether this is a memory leak
risk_level: StringRisk level (low, medium, high)
risk_factors: Vec<String>Risk factors
Trait Implementations§
Source§impl Clone for UnsafeReport
impl Clone for UnsafeReport
Source§fn clone(&self) -> UnsafeReport
fn clone(&self) -> UnsafeReport
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 UnsafeReport
impl Debug for UnsafeReport
Source§impl<'de> Deserialize<'de> for UnsafeReport
impl<'de> Deserialize<'de> for UnsafeReport
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
Auto Trait Implementations§
impl Freeze for UnsafeReport
impl RefUnwindSafe for UnsafeReport
impl Send for UnsafeReport
impl Sync for UnsafeReport
impl Unpin for UnsafeReport
impl UnsafeUnpin for UnsafeReport
impl UnwindSafe for UnsafeReport
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