Trait concision_core::traits::predict::Predict

source ·
pub trait Predict<T> {
    type Output;

    // Required method
    fn predict(&self, args: &T) -> Result<Self::Output, PredictError>;
}

Required Associated Types§

Required Methods§

source

fn predict(&self, args: &T) -> Result<Self::Output, PredictError>

Implementations on Foreign Types§

source§

impl<S, T> Predict<T> for Option<S>
where S: Predict<T, Output = T>, T: Clone,

§

type Output = T

source§

fn predict(&self, args: &T) -> Result<Self::Output, PredictError>

Implementors§