TryBitAndAssign

Trait TryBitAndAssign 

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

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

The try trait for BitAndAssign.

Required Associated Types§

Source

type Error

The type returned in the event of an error.

Required Methods§

Source

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

The fallible equivalent of BitAndAssign::bitand_assign.

Implementors§

Source§

impl<T: BitAndAssign<Rhs>, Rhs> TryBitAndAssign<Rhs> for T