Enum crfsuite::CrfError [−][src]
pub enum CrfError { CrfSuiteError(CrfSuiteError), CreateInstanceError(String), ParamNotFound(String), AlgorithmNotSelected, EmptyData, InvalidArgument(String), ValueError(String), InvalidModel(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
InvalidModel(String)
Invalid model
Trait Implementations
impl Debug for CrfError
[src]
impl Debug for CrfError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CrfError
[src]
impl Clone for CrfError
fn clone(&self) -> CrfError
[src]
fn clone(&self) -> CrfError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for CrfError
[src]
impl PartialEq for CrfError
fn eq(&self, other: &CrfError) -> bool
[src]
fn eq(&self, other: &CrfError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CrfError) -> bool
[src]
fn ne(&self, other: &CrfError) -> bool
This method tests for !=
.
impl Error for CrfError
[src]
impl Error for CrfError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for CrfError
[src]
impl Display for CrfError