pub trait Predict<T> { type Output; // Required method fn predict(&self, args: &T) -> Result<Self::Output, PredictError>; }