[][src]Trait try_traits::ops::TryBitOr

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

The try trait for BitOr.

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_bitor(self, rhs: Rhs) -> Result<Self::Output, Self::Error>

The fallible equivalent of BitOr::bitor.

Loading content...

Implementors

impl<T: BitOr<Rhs>, Rhs> TryBitOr<Rhs> for T[src]

type Error = Infallible

type Output = Self::Output

Loading content...