[][src]Enum feattle::json_reading::FromJsonError

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

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 + 'static + Sync + Send>

Implementations

impl FromJsonError[src]

pub fn parsing<E>(error: E) -> FromJsonError where
    E: 'static + Error + Send + Sync
[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> From<FromJsonError> for UpdateError<PersistError> where
    PersistError: 'static + Error + Send + Sync
[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.