Enum lindera_core::error::LinderaErrorKind
source · [−]pub enum LinderaErrorKind {
Args,
Content,
Decode,
Deserialize,
Io,
Parse,
Serialize,
Compress,
DictionaryNotFound,
}Variants
Args
Content
Decode
Deserialize
Io
Parse
Serialize
Compress
DictionaryNotFound
Implementations
sourceimpl LinderaErrorKind
impl LinderaErrorKind
pub fn with_error<E>(self, source: E) -> LinderaError where
Error: From<E>,
Trait Implementations
sourceimpl Clone for LinderaErrorKind
impl Clone for LinderaErrorKind
sourcefn clone(&self) -> LinderaErrorKind
fn clone(&self) -> LinderaErrorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LinderaErrorKind
impl Debug for LinderaErrorKind
sourceimpl<'de> Deserialize<'de> for LinderaErrorKind
impl<'de> Deserialize<'de> for LinderaErrorKind
sourcefn 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
sourceimpl PartialEq<LinderaErrorKind> for LinderaErrorKind
impl PartialEq<LinderaErrorKind> for LinderaErrorKind
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more