pub trait ResultDataError<T>: Sized {
// Required method
fn allow_identifier_not_found(self) -> Result<Option<T>, DataError>;
}Expand description
Extension trait for Result<T, DataError>.
Required Methods§
Sourcefn allow_identifier_not_found(self) -> Result<Option<T>, DataError>
fn allow_identifier_not_found(self) -> Result<Option<T>, DataError>
Propagates all errors other than DataErrorKind::IdentifierNotFound, and returns None in that case.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".