Enum crfsuite::CrfError[][src]

pub enum CrfError {
    CrfSuiteError(CrfSuiteError),
    CreateInstanceError(String),
    ParamNotFound(String),
    AlgorithmNotSelected,
    EmptyData,
    InvalidArgument(String),
    ValueError(String),
    InvalidModel(String),
}

Variants

Errors from crfsuite ffi functions

Create instance error

Parameter not found

Trainer algorithm not selected

Trainer data is empty

Invalid argument

Invalid value

Invalid model

Trait Implementations

impl Debug for CrfError
[src]

Formats the value using the given formatter. Read more

impl Clone for CrfError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CrfError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for CrfError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for CrfError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CrfError

impl Sync for CrfError