Trait icu_provider::ResultDataError
source · 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.
Object Safety§
This trait is not object safe.