TryShlAssign

Trait TryShlAssign 

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

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

The try trait for ShlAssign.

Required Associated Types§

Source

type Error

The type returned in the event of an error.

Required Methods§

Source

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

The fallible equivalent of ShlAssign::shl_assign.

Implementors§

Source§

impl<T: ShlAssign<Rhs>, Rhs> TryShlAssign<Rhs> for T