Skip to main content

IntoErr

Trait IntoErr 

Source
pub trait IntoErr<ET: EngineTypes, Err> {
    // Required method
    fn into_err(self, aux: &EngineAux<ET>, state: &ET::State) -> Err;
}

Required Methods§

Source

fn into_err(self, aux: &EngineAux<ET>, state: &ET::State) -> Err

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<ET: EngineTypes, Err, A> IntoErr<ET, Err> for A
where Err: From<A>,