Trait btlib::error::DisplayErr

source ·
pub trait DisplayErr<T> {
    // Required method
    fn display_err(self) -> Result<T>;
}

Required Methods§

source

fn display_err(self) -> Result<T>

Uses the Display trait to convert the error in a Result to a string.

Implementations on Foreign Types§

source§

impl<T, E: Display> DisplayErr<T> for Result<T, E>

Implementors§