[][src]Trait try_traits::ops::TryShlAssign

pub trait TryShlAssign<Rhs = Self> {
    type Error;
    fn try_shl_assign(&mut self, rhs: Rhs) -> Result<(), Self::Error>;
}

The try trait for ShlAssign.

Associated Types

type Error

The type returned in the event of an error.

Loading content...

Required methods

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

The fallible equivalent of ShlAssign::shl_assign.

Loading content...

Implementors

impl<T: ShlAssign<Rhs>, Rhs> TryShlAssign<Rhs> for T[src]

type Error = Infallible

Loading content...