[][src]Enum wasccgraph_common::GraphError

pub enum GraphError {
    ClientTypeError(String),
    LabelNotFound,
    RelationshipTypeNotFound,
    PropertyKeyNotFound,
    InvalidUtf8,
}

Common error type for this crate.

Variants

ClientTypeError(String)

Returned if the data you requested is of a different type than the data returned by the database.

LabelNotFound

Returned if a label name was not found in the graph's internal registry.

This error is taken care of by the implementation and should never reach your code.

RelationshipTypeNotFound

Returned if a relationship type name was not found in the graph's internal registry.

This error is taken care of by the implementation and should never reach your code.

PropertyKeyNotFound

Returned if a property key name was not found in the graph's internal registry.

This error is taken care of by the implementation and should never reach your code.

InvalidUtf8

Returned if you requested a String and the database responded with bytes that are invalid UTF-8.

If you don't care about whether the data is valid UTF-8, consider requesting a RedisString instead.

Trait Implementations

impl Clone for GraphError[src]

impl Debug for GraphError[src]

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

impl Display for GraphError[src]

impl PartialEq<GraphError> for GraphError[src]

impl Serialize for GraphError[src]

impl StructuralPartialEq for GraphError[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.