[][src]Trait try_traits::ops::TryShr

pub trait TryShr<Rhs = Self> {
    type Error;
    type Output;
    fn try_shr(self, rhs: Rhs) -> Result<Self::Output, Self::Error>;
}

The try trait for Shr.

Associated Types

type Error

The type returned in the event of an error.

type Output

The type returned after performing the operation.

Loading content...

Required methods

fn try_shr(self, rhs: Rhs) -> Result<Self::Output, Self::Error>

The fallible equivalent of Shr::shr.

Loading content...

Implementors

impl<T: Shr<Rhs>, Rhs> TryShr<Rhs> for T[src]

type Error = Infallible

type Output = Self::Output

Loading content...