Trait memofs::IoResultExt[][src]

pub trait IoResultExt<T> {
    fn with_not_found(self) -> Result<Option<T>>;
}
Expand description

Trait that transforms io::Result<T> into io::Result<Option<T>>.

Ok(None) takes the place of IO errors whose io::ErrorKind is NotFound.

Required methods

Implementations on Foreign Types

Implementors