pub trait AsResult<T, E> { // Required method fn as_result(&self) -> Result<T, E>; }
Converts the type into a std::io::Result<()> by reference
std::io::Result<()>