[]Struct extrahop::errors::Error

pub struct Error(pub ErrorKind, _);

The Error type.

This tuple struct is made of two elements:

  • an ErrorKind which is used to determine the type of the error.
  • An internal State, not meant for direct use outside of error_chain internals, containing:
    • a backtrace, generated when the error is created.
    • an error chain, used for the implementation of Error::cause().

Methods

impl Error

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Construct a chained error from another boxed error and a kind, and generates a backtrace

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Extends the error chain with a new entry.

Methods from Deref<Target = ErrorKind>

A string describing the error kind.

Trait Implementations

impl From<Error> for Error

An error from the reqwest crate.

impl From<Error> for Error

An error from the serde_json crate.

impl From<Error> for Error

An error from the serde::de module.

impl From<RestError> for Error

An error from the ExtraHop appliance

impl From<ErrorKind> for Error

impl<'a> From<&'a str> for Error

impl From<String> for Error

impl From<Error> for ErrorKind

impl Debug for Error

impl Display for Error

impl Deref for Error

The resulting type after dereferencing.

impl Error for Error

The lower-level source of this error, if any. Read more

impl ChainedError for Error

Associated kind type.

Returns an object which implements Display for printing the full context of this error. Read more

Auto Trait Implementations

impl Send for Error

impl !Sync for Error

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T