TryTransform

Trait TryTransform 

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

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

TryTransform defines a fallible transformation operation that can fail, producing an

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<X, Y, A> TryTransform<X> for A
where A: Transform<X, Output = Y>,