[][src]Trait libimagutil::info_result::InfoResult

pub trait InfoResult<T, E>: Sized {
    fn map_info<F: FnOnce(&T) -> String>(self, f: F) -> Self;
fn map_info_err<F: FnOnce(&E) -> String>(self, f: F) -> Self; fn map_info_str(self, s: &str) -> Self { ... }
fn map_info_err_str(self, s: &str) -> Self { ... } }

Required methods

fn map_info<F: FnOnce(&T) -> String>(self, f: F) -> Self

fn map_info_err<F: FnOnce(&E) -> String>(self, f: F) -> Self

Loading content...

Provided methods

fn map_info_str(self, s: &str) -> Self

fn map_info_err_str(self, s: &str) -> Self

Loading content...

Implementations on Foreign Types

impl<T, E> InfoResult<T, E> for Result<T, E>[src]

Loading content...

Implementors

Loading content...