Type Alias NeuralResult

Source
pub type NeuralResult<T> = Result<T, NeuralError>;
Expand description

a type alias for a Result configured to use the NeuralError implementation as its error type.

Aliased Type§

pub enum NeuralResult<T> {
    Ok(T),
    Err(NeuralError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(NeuralError)

Contains the error value