[][src]Trait try_traits::ops::TryNot

pub trait TryNot {
    type Error;
    type Output;
    fn try_not(self) -> Result<Self::Output, Self::Error>;
}

The try trait for Not.

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

The fallible equivalent of Not::not.

Loading content...

Implementors

impl<T: Not> TryNot for T[src]

type Error = Infallible

type Output = Self::Output

Loading content...