[][src]Trait as_result::AsResult

pub trait AsResult<T, E> {
    fn as_result(&self) -> Result<T, E>;
}

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

Required methods

fn as_result(&self) -> Result<T, E>

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

Loading content...

Implementations on Foreign Types

impl AsResult<(), Error> for ExitStatus[src]

Loading content...

Implementors

Loading content...