pub trait TryShrAssign<Rhs = Self> {
type Error;
// Required method
fn try_shr_assign(&mut self, rhs: Rhs) -> Result<(), Self::Error>;
}
Expand description
The try trait for ShrAssign
.
Required Associated Types§
Required Methods§
Sourcefn try_shr_assign(&mut self, rhs: Rhs) -> Result<(), Self::Error>
fn try_shr_assign(&mut self, rhs: Rhs) -> Result<(), Self::Error>
The fallible equivalent of ShrAssign::shr_assign
.