Trait fvm::kernel::ClassifyResult
source · pub trait ClassifyResult: Sized {
type Value;
type Error;
// Required methods
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;
// Provided method
fn or_illegal_argument(self) -> Result<Self::Value>
where Self::Error: Display { ... }
}
Required Associated Types§
Required Methods§
fn or_fatal(self) -> Result<Self::Value>
fn or_error(self, code: ErrorNumber) -> Result<Self::Value>
Provided Methods§
Object Safety§
This trait is not object safe.