Type Alias linfa_bayes::Result

source ·
pub type Result<T> = Result<T, NaiveBayesError>;
Expand description

Simplified Result using NaiveBayesError as error type

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(NaiveBayesError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(NaiveBayesError)

Contains the error value