[][src]Enum stellar_federation::Error

pub enum Error {
    InvalidStellarAddress,
    MissingFederationServer,
    ClientError(Response<Body>),
    ServerError(Response<Body>),
    TomlResolveError(Error),
    JsonError(Error),
    HyperError(Error),
    InvalidUrl(ParseError),
    InvalidUri(InvalidUri),
}

Crate error type.

Variants

InvalidStellarAddress

Invalid stellar address.

MissingFederationServer

Federation server is missing.

ClientError(Response<Body>)

The client sent a bad request.

ServerError(Response<Body>)

Server error response.

TomlResolveError(Error)

Error resolving stellar.toml file.

JsonError(Error)

Error parsing json.

HyperError(Error)

Http error.

InvalidUrl(ParseError)

Invalid url format.

InvalidUri(InvalidUri)

Invalid uri format.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<InvalidUri> for Error[src]

impl From<ParseError> for Error[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> 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.