Enum crfsuite::CrfError
[−]
[src]
pub enum CrfError { CrfSuiteError(CrfSuiteError), CreateInstanceError(String), ParamNotFound(String), AlgorithmNotSelected, EmptyData, InvalidArgument(String), ValueError(String), }
Variants
CrfSuiteError(CrfSuiteError)
Errors from crfsuite ffi functions
CreateInstanceError(String)
Create instance error
ParamNotFound(String)
Parameter not found
AlgorithmNotSelected
Trainer algorithm not selected
EmptyData
Trainer data is empty
InvalidArgument(String)
Invalid argument
ValueError(String)
Invalid value
Trait Implementations
impl Debug for CrfError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CrfError
[src]
fn clone(&self) -> CrfError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for CrfError
[src]
fn eq(&self, __arg_0: &CrfError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CrfError) -> bool
[src]
This method tests for !=
.
impl Error for CrfError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more