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