Enum ipfs_api::response::Error [−][src]
pub enum Error { Client(Error), Http(Error), Parse(Error), ParseUtf8(FromUtf8Error), Url(InvalidUri), Io(Error), EncodeUrl(Error), Api(ApiError), StreamError(String), UnrecognizedTrailerHeader(String), Uncategorized(String), }
Variants
Client(Error)
Http(Error)
Parse(Error)
ParseUtf8(FromUtf8Error)
Url(InvalidUri)
Io(Error)
EncodeUrl(Error)
Api(ApiError)
An error returned by the Ipfs api.
StreamError(String)
A stream error indicated in the Trailer header.
UnrecognizedTrailerHeader(String)
API returned a trailer header with unrecognized value.
Uncategorized(String)
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(err: FromUtf8Error) -> Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.
impl From<InvalidUri> for Error
[src]
impl From<InvalidUri> for Error
fn from(err: InvalidUri) -> Error
[src]
fn from(err: InvalidUri) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error