TryApply

Trait TryApply 

Source
pub trait TryApply<Rhs> {
    type Output;
    type Error;

    // Required method
    fn try_apply(&self, rhs: Rhs) -> Result<Self::Output, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn try_apply(&self, rhs: Rhs) -> Result<Self::Output, Self::Error>

Implementors§

Source§

impl<A, X, Y> TryApply<X> for A
where A: Apply<X, Output = Y>,