pub trait Trace {
// Required method
fn copy_from(&mut self, other: &Self);
}
Expand description
Represents the trace captured by a tracing evaluation
The only property enforced on the trait is that we must have a way of
reusing trace allocations. Because Trace
implies Clone
where it’s
used in Function
, this is trivial, but we can’t provide a default
implementation because it would fall afoul of impl
specialization.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.