pub trait SamplerProxyInterface: Send + Sync {
// Required methods
fn record_allocation(
&self,
address: u64,
stack_trace: &StackTrace,
size: u64,
) -> Result<(), Error>;
fn record_deallocation(
&self,
address: u64,
stack_trace: &StackTrace,
) -> Result<(), Error>;
fn set_process_info(
&self,
payload: &SamplerSetProcessInfoRequest,
) -> Result<(), Error>;
}