Trait uucore::error::FromIo [−][src]
pub trait FromIo<T> {
fn map_err_context(self, context: impl FnOnce() -> String) -> T;
}
Expand description
Enables the conversion from std::io::Error
to UError
and from std::io::Result
to
UResult
.