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