pub trait TrySub<Rhs = Self> {
type Output;
type Error;
// Required method
fn try_sub(self, rhs: Rhs) -> Result<Self::Output, Self::Error>;
}
Expand description
Checked subtraction operator which returns a Result to indicate success or failure.