Enum lindera_core::error::LinderaErrorKind
source · pub enum LinderaErrorKind {
Show 14 variants
Args,
Content,
Decode,
Deserialize,
Io,
Parse,
Serialize,
Compress,
DictionaryNotFound,
DictionaryLoadError,
DictionaryBuildError,
DictionaryKindError,
DictionarySourceTypeError,
ModeError,
}Variants§
Args
Content
Decode
Deserialize
Io
Parse
Serialize
Compress
DictionaryNotFound
DictionaryLoadError
DictionaryBuildError
DictionaryKindError
DictionarySourceTypeError
ModeError
Implementations§
source§impl LinderaErrorKind
impl LinderaErrorKind
pub fn with_error<E>(self, source: E) -> LinderaErrorwhere
Error: From<E>,
Trait Implementations§
source§impl Clone for LinderaErrorKind
impl Clone for LinderaErrorKind
source§fn clone(&self) -> LinderaErrorKind
fn clone(&self) -> LinderaErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LinderaErrorKind
impl Debug for LinderaErrorKind
source§impl<'de> Deserialize<'de> for LinderaErrorKind
impl<'de> Deserialize<'de> for LinderaErrorKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LinderaErrorKind> for LinderaErrorKind
impl PartialEq<LinderaErrorKind> for LinderaErrorKind
source§fn eq(&self, other: &LinderaErrorKind) -> bool
fn eq(&self, other: &LinderaErrorKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.