Trait IntoResult

Source
pub trait IntoResult<T, E> {
    // Required method
    fn into_result(self) -> Result<T, E>;
}
Expand description

Converts the type into a std::io::Result<()>

Required Methods§

Source

fn into_result(self) -> Result<T, E>

Converts the type into a std::io::Result<()>

Implementations on Foreign Types§

Source§

impl IntoResult<(), Error> for ExitStatus

Source§

impl IntoResult<Output, Error> for Output

Implementors§