TryApplyOnce

Trait TryApplyOnce 

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

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

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<A, X, Y> TryApplyOnce<X> for A
where A: ApplyOnce<X, Output = Y>,