[][src]Trait try_traits::ops::TryAddAssign

pub trait TryAddAssign<Rhs = Self> {
    type Error;
    fn try_add_assign(&mut self, other: Rhs) -> Result<(), Self::Error>;
}

The try trait for AddAssign.

Associated Types

type Error

The type returned in the event of an error.

Loading content...

Required methods

fn try_add_assign(&mut self, other: Rhs) -> Result<(), Self::Error>

The fallible equivalent of AddAssign::add_assign.

Loading content...

Implementors

impl<T: AddAssign<Rhs>, Rhs> TryAddAssign<Rhs> for T[src]

type Error = Infallible

Loading content...