Trait racetime::ResultExt

source ·
pub trait ResultExt {
    type Ok;

    fn to_racetime(self) -> Result<Self::Ok, Error>;
}
Expand description

A convenience trait for converting results to use this crate’s Error type.

Required Associated Types§

Required Methods§

Convert the error to this crate’s Error type using the Error::Custom variant.

Implementations on Foreign Types§

Implementors§