pub trait TryAdd<Rhs = Self> { type Error; type Output; // Required method fn try_add(self, other: Rhs) -> Result<Self::Output, Self::Error>; }
The try trait for Add.
Add
The type returned in the event of an error.
The type returned after performing the operation.
The fallible equivalent of Add::add.
Add::add