pub trait TryAdd<Rhs = Self> {
type Error;
type Output;
// Required method
fn try_add(self, other: Rhs) -> Result<Self::Output, Self::Error>;
}Expand description
The try trait for Add.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".