pub trait Compute { type Output; // Required method fn compute(&self) -> Result<Self::Output, Error>; }