Trait btlib::error::BtErr

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

Required Methods§

source

fn bterr(self) -> Result<T>

Maps the error in the given result to a btlib::Error.

Implementations on Foreign Types§

source§

impl<T, E: Error + Send + Sync + 'static> BtErr<T> for Result<T, E>

source§

fn bterr(self) -> Result<T>

Implementors§