TryInjectable

Trait TryInjectable 

Source
pub trait TryInjectable<T, R> {
    type Error;

    // Required method
    fn try_inject(self, wrapper: T) -> Result<R, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn try_inject(self, wrapper: T) -> Result<R, Self::Error>

Implementors§

Source§

impl<T: TryWrapper<U, R>, U, R> TryInjectable<T, R> for U

Source§

type Error = <T as TryWrapper<U, R>>::Error