Trait AsResult
as_result
pub trait AsResult<T, E> { fn as_result(&self) -> Result<T, E>; }
Converts the type into a std::io::Result<()> by reference
std::io::Result<()>
fn as_result(&self) -> Result<T, E>
impl AsResult<(), Error> for ExitStatus
fn as_result(&self) -> Result<()>