Enum fann::FannErrorType [] [src]

pub enum FannErrorType {
    CantOpenConfigR,
    CantOpenConfigW,
    WrongConfigVersion,
    CantReadConfig,
    CantReadNeuron,
    CantReadConnections,
    WrongNumConnections,
    CantOpenTdW,
    CantOpenTdR,
    CantReadTd,
    CantAllocateMem,
    CantTrainActivation,
    CantUseActivation,
    TrainDataMismatch,
    CantUseTrainAlg,
    TrainDataSubset,
    IndexOutOfBound,
    ScaleNotPresent,
    CantSaveFile,
    ErrorCodeReturned,
}

Variants

CantOpenConfigR

Unable to open configuration file for reading

CantOpenConfigW

Unable to open configuration file for writing

WrongConfigVersion

Wrong version of configuration file

CantReadConfig

Error reading info from configuration file

CantReadNeuron

Error reading neuron info from configuration file

CantReadConnections

Error reading connections from configuration file

WrongNumConnections

Number of connections not equal to the number expected

CantOpenTdW

Unable to open train data file for writing

CantOpenTdR

Unable to open train data file for reading

CantReadTd

Error reading training data from file

CantAllocateMem

Unable to allocate memory

CantTrainActivation

Unable to train with the selected activation function

CantUseActivation

Unable to use the selected activation function

TrainDataMismatch

Irreconcilable differences between two fann_train_data structures

CantUseTrainAlg

Unable to use the selected training algorithm

TrainDataSubset

Trying to take subset which is not within the training set

IndexOutOfBound

Index is out of bound

ScaleNotPresent

Scaling parameters not present

CantSaveFile

Failed to save file

ErrorCodeReturned

C function returned an error code, i. e. not 0, but did not specify error

Trait Implementations

impl Display for FannErrorType

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

Derived Implementations

impl PartialEq for FannErrorType

fn eq(&self, __arg_0: &FannErrorType) -> bool

fn ne(&self, __arg_0: &FannErrorType) -> bool

impl Eq for FannErrorType

impl Debug for FannErrorType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for FannErrorType

fn clone(&self) -> FannErrorType

fn clone_from(&mut self, source: &Self)

impl Copy for FannErrorType