[][src]Enum feattle_core::json_reading::FromJsonError

pub enum FromJsonError {
    WrongKind {
        expected: &'static str,
        actual: &'static str,
    },
    ParseError {
        cause: Box<dyn Error + Send + Sync + 'static>,
    },
}

Indicate an error that occurred while trying to read a feattle value from JSON

Variants

WrongKind

Fields of WrongKind

expected: &'static stractual: &'static str
ParseError

Fields of ParseError

cause: Box<dyn Error + Send + Sync + 'static>

Implementations

impl FromJsonError[src]

pub fn parsing<E: Error + Send + Sync + 'static>(error: E) -> FromJsonError[src]

Create a new FromJsonError::ParseError variant

Trait Implementations

impl Debug for FromJsonError[src]

impl Display for FromJsonError[src]

impl Error for FromJsonError[src]

impl<PersistError: Error + Send + Sync + 'static> From<FromJsonError> for UpdateError<PersistError>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.