[][src]Enum access_json::QueryExecErr

pub enum QueryExecErr {
    EmptyQuery,
    InternalError(String),
    Serialization(String),
}

An enum representing a runtime error given a correctly-parsed query.

Variants

EmptyQuery

You gave us a query that has no fields or array accesses in it. Just call serde_json::to_value instead of going through the query API!

InternalError(String)

Basically a panic; please open a github issue, with data if possible!

Serialization(String)

Since we're currently implementing a serde Serializer to run the queries, we need a catch-all for custom errors, e.g., in user-specified serialization targets.

Trait Implementations

impl Debug for QueryExecErr[src]

impl<'de> Deserialize<'de> for QueryExecErr[src]

impl Display for QueryExecErr[src]

impl Eq for QueryExecErr[src]

impl Error for QueryExecErr[src]

impl Error for QueryExecErr[src]

impl From<Error> for QueryExecErr[src]

impl PartialEq<QueryExecErr> for QueryExecErr[src]

impl Serialize for QueryExecErr[src]

impl StructuralEq for QueryExecErr[src]

impl StructuralPartialEq for QueryExecErr[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.