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