[][src]Enum graph_error::GraphFailure

pub enum GraphFailure {
    Io(Error),
    Parse(ParseIntError),
    ParseString(ParseError),
    Utf8Error(Utf8Error),
    ReqwestError(Error),
    ReqwestHeaderToStr(ToStrError),
    SerdeError(Error),
    SerdeYamlError(Error),
    DecodeError(DecodeError),
    GraphError(GraphError),
    RecvError(RecvError),
    BorrowMutError(BorrowMutError),
    UrlParseError(ParseError),
    HyperError(Error),
    HyperHttpError(Error),
    HyperInvalidUri(InvalidUri),
    GraphRsError(GraphRsError),
    HandlebarsRenderError(RenderError),
    HandlebarsTemplateRenderError(TemplateRenderError),
    CryptoError,
}

Variants

Io(Error)
ParseString(ParseError)
Utf8Error(Utf8Error)
ReqwestError(Error)
ReqwestHeaderToStr(ToStrError)
SerdeError(Error)
SerdeYamlError(Error)
DecodeError(DecodeError)
GraphError(GraphError)
RecvError(RecvError)
BorrowMutError(BorrowMutError)
UrlParseError(ParseError)
HyperError(Error)
HyperHttpError(Error)
HyperInvalidUri(InvalidUri)
GraphRsError(GraphRsError)
HandlebarsRenderError(RenderError)
HandlebarsTemplateRenderError(TemplateRenderError)
CryptoError

Implementations

impl GraphFailure[src]

pub fn error_kind(error_kind: ErrorKind, message: &str) -> Self[src]

pub fn internal(err: GraphRsError) -> GraphFailure[src]

pub fn not_found(msg: &str) -> GraphFailure[src]

pub fn invalid(msg: &str) -> Self[src]

pub fn from_response(r: &Response) -> Option<GraphFailure>[src]

pub fn from_async_response(r: &Response) -> Option<GraphFailure>[src]

Trait Implementations

impl AsRes<GraphFailure> for GraphFailure[src]

impl Debug for GraphFailure[src]

impl Default for GraphFailure[src]

impl Display for GraphFailure[src]

impl Error for GraphFailure[src]

impl From<BorrowMutError> for GraphFailure[src]

impl From<DecodeError> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<Error> for GraphFailure[src]

impl From<GraphError> for GraphFailure[src]

impl From<GraphRsError> for GraphFailure[src]

impl From<Infallible> for GraphFailure[src]

impl From<InvalidUri> for GraphFailure[src]

impl From<NoneError> for GraphFailure[src]

impl From<ParseError> for GraphFailure[src]

impl From<ParseIntError> for GraphFailure[src]

impl From<RecvError> for GraphFailure[src]

impl From<RenderError> for GraphFailure[src]

impl From<TemplateRenderError> for GraphFailure[src]

impl From<ToStrError> for GraphFailure[src]

impl From<Unspecified> for GraphFailure[src]

impl From<Utf8Error> for GraphFailure[src]

impl<'_> TryFrom<&'_ Response> for GraphFailure[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ Response> for GraphFailure[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsErrorSource for T where
    T: 'static + Error
[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> Instrument for T[src]

impl<T> Instrument 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.