TryBitXor

Trait TryBitXor 

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

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

The try trait for BitXor.

Required Associated Types§

Source

type Error

The type returned in the event of an error.

Source

type Output

The type returned after performing the operation.

Required Methods§

Source

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

The fallible equivalent of BitXor::bitxor.

Implementors§

Source§

impl<T: BitXor<Rhs>, Rhs> TryBitXor<Rhs> for T