pub trait StallResource: Sync + Send {
// Required method
fn get_memory_stall(&self) -> Result<MemoryStall, Status>;
}
Expand description
Trait for a resource exposing memory stall information. Used for dependency injection in unit tests.
pub trait StallResource: Sync + Send {
// Required method
fn get_memory_stall(&self) -> Result<MemoryStall, Status>;
}
Trait for a resource exposing memory stall information. Used for dependency injection in unit tests.