[−][src]Trait memofs::IoResultExt
Trait that transforms io::Result<T>
into io::Result<Option<T>>
.
Ok(None)
takes the place of IO errors whose io::ErrorKind
is NotFound
.
Trait that transforms io::Result<T>
into io::Result<Option<T>>
.
Ok(None)
takes the place of IO errors whose io::ErrorKind
is NotFound
.
pub fn with_not_found(self) -> Result<Option<T>>
impl<T> IoResultExt<T> for Result<T>
[src]pub fn with_not_found(self) -> Result<Option<T>>
[src]