pub struct InferenceRecord {
pub id: usize,
pub ptr: usize,
pub size: usize,
pub memory: Option<OwnedMemoryView>,
pub type_kind: TypeKind,
pub confidence: u8,
pub call_stack_hash: Option<u64>,
pub alloc_time: u64,
pub stack_ptr: Option<usize>,
}Expand description
Inference record combining allocation metadata with memory content.
Fields§
§id: usizeUnique ID (index into the allocations list).
ptr: usizePointer address of the allocation.
size: usizeAllocation size in bytes.
memory: Option<OwnedMemoryView>Owned memory content view (may be partial, capped at 4096 bytes).
type_kind: TypeKindInferred type from UTI Engine.
confidence: u8Confidence of the type inference (0-100).
call_stack_hash: Option<u64>Call stack hash at allocation time.
alloc_time: u64Allocation timestamp (nanoseconds).
stack_ptr: Option<usize>Stack pointer (for StackOwner types like Arc/Rc).
Auto Trait Implementations§
impl Freeze for InferenceRecord
impl RefUnwindSafe for InferenceRecord
impl Send for InferenceRecord
impl Sync for InferenceRecord
impl Unpin for InferenceRecord
impl UnsafeUnpin for InferenceRecord
impl UnwindSafe for InferenceRecord
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> 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