logo
pub trait TransformExt<S, Req>: Transform<S, Req> {
    fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, Req, F, E>
    where
        Self: Sized,
        F: Fn(Self::InitError) -> E + Clone
, { ... } }
Expand description

An extension trait for Transforms that provides a variety of convenient adapters.

Provided Methods

Return a new Transform whose init error is mapped to to a different type.

Implementors