pub trait ClassifyResult: Sized {
    type Value;
    type Error;
    fn or_fatal(self) -> Result<Self::Value>
    where
        Self::Error: Into<Error>
;
fn or_error(self, code: ErrorNumber) -> Result<Self::Value>
    where
        Self::Error: Display
; fn or_illegal_argument(self) -> Result<Self::Value>
    where
        Self::Error: Display
, { ... } }

Associated Types

Required methods

Provided methods

Implementations on Foreign Types

Implementors