TryShrAssign

Trait TryShrAssign 

Source
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§

Source

type Error

The type returned in the event of an error.

Required Methods§

Source

fn try_shr_assign(&mut self, rhs: Rhs) -> Result<(), Self::Error>

The fallible equivalent of ShrAssign::shr_assign.

Implementors§

Source§

impl<T: ShrAssign<Rhs>, Rhs> TryShrAssign<Rhs> for T