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§

source

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.

Implementations on Foreign Types§

source§

impl<T> ResultDataError<T> for Result<T, DataError>

Implementors§