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 ==
.source§impl Serialize for LinderaErrorKind
impl Serialize for LinderaErrorKind
impl Copy for LinderaErrorKind
impl Eq for LinderaErrorKind
impl StructuralEq for LinderaErrorKind
impl StructuralPartialEq for LinderaErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for LinderaErrorKind
impl Send for LinderaErrorKind
impl Sync for LinderaErrorKind
impl Unpin for LinderaErrorKind
impl UnwindSafe for LinderaErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more