pub trait CheckedSub<Rhs = Self>where
Self: Sized,{
type Output;
type Error;
// Required method
fn checked_sub(self, rhs: Rhs) -> Result<Self::Output, Self::Error>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".