pub trait TrySub<RHS = Self> {
type Output;
type Err;
// Required method
fn try_sub(self, rhs: RHS) -> Result<Self::Output, Self::Err>;
}Expand description
Fallible subtraction trait.
pub trait TrySub<RHS = Self> {
type Output;
type Err;
// Required method
fn try_sub(self, rhs: RHS) -> Result<Self::Output, Self::Err>;
}Fallible subtraction trait.