TryRemAssign

Trait TryRemAssign 

Source
pub trait TryRemAssign<Rhs = Self> {
    type Error;

    // Required method
    fn try_rem_assign(&mut self, other: Rhs) -> Result<(), Self::Error>;
}
Expand description

The try trait for RemAssign.

Required Associated Types§

Source

type Error

The type returned in the event of an error.

Required Methods§

Source

fn try_rem_assign(&mut self, other: Rhs) -> Result<(), Self::Error>

The fallible equivalent of RemAssign::rem_assign.

Implementors§

Source§

impl<T: RemAssign<Rhs>, Rhs> TryRemAssign<Rhs> for T