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 Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<FromUtf8Error> for Error[src]
impl From<FromUtf8Error> for Errorfn from(err: FromUtf8Error) -> Error[src]
fn from(err: FromUtf8Error) -> ErrorPerforms the conversion.
impl From<InvalidUri> for Error[src]
impl From<InvalidUri> for Errorfn from(err: InvalidUri) -> Error[src]
fn from(err: InvalidUri) -> ErrorPerforms the conversion.
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Error