pub trait AllocationObserver: Send + Sync {
// Required methods
fn account_context(&self) -> Option<SourceResourceContext>;
fn check(&self) -> Result<(), ProgramStop>;
fn record(&self, stop: ProgramStop) -> ProgramStop;
}Expand description
Captured terminal channels only. Implementations release their own locks before consulting another channel, and grant no decoder or execution rights.