Trait MapResult

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

Maps a result into another result

Required Methods§

Source

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

Maps a result into another result

Implementations on Foreign Types§

Source§

impl MapResult<(), Error> for Result<ExitStatus>

Implementors§