Enum reinfer_client::Error[][src]

pub enum Error {
    Api {
        status_code: StatusCode,
        message: String,
    },
    BadEndpoint {
        name: String,
    },
    BadToken {
        token: String,
    },
    BadSourceIdentifier {
        identifier: String,
    },
    BadDatasetIdentifier {
        identifier: String,
    },
    BadTriggerName {
        identifier: String,
    },
    BadUserIdentifier {
        identifier: String,
    },
    BadOrganisationPermission {
        permission: String,
    },
    BadGlobalPermission {
        permission: String,
    },
    BadBucketIdentifier {
        identifier: String,
    },
    BadBucketName {
        name: String,
    },
    BadBucketType {
        bucket_type: String,
    },
    BadEntityDef {
        entity_def: String,
        source: Error,
    },
    BadJsonResponse(Error),
    BadProtocol {
        status_code: StatusCode,
        message: String,
    },
    BuildHttpClient(Error),
    ReqwestError {
        message: String,
        source: Error,
    },
    UrlParseError {
        message: String,
        source: ParseError,
    },
    Unknown {
        message: String,
        source: Box<dyn Error + Send + Sync + 'static>,
    },
}

Variants

Api

Fields of Api

status_code: StatusCodemessage: String
BadEndpoint

Fields of BadEndpoint

name: String
BadToken

Fields of BadToken

token: String
BadSourceIdentifier

Fields of BadSourceIdentifier

identifier: String
BadDatasetIdentifier

Fields of BadDatasetIdentifier

identifier: String
BadTriggerName

Fields of BadTriggerName

identifier: String
BadUserIdentifier

Fields of BadUserIdentifier

identifier: String
BadOrganisationPermission

Fields of BadOrganisationPermission

permission: String
BadGlobalPermission

Fields of BadGlobalPermission

permission: String
BadBucketIdentifier

Fields of BadBucketIdentifier

identifier: String
BadBucketName

Fields of BadBucketName

name: String
BadBucketType

Fields of BadBucketType

bucket_type: String
BadEntityDef

Fields of BadEntityDef

entity_def: Stringsource: Error
BadJsonResponse(Error)
BadProtocol

Fields of BadProtocol

status_code: StatusCodemessage: String
BuildHttpClient(Error)
ReqwestError

Fields of ReqwestError

message: Stringsource: Error
UrlParseError

Fields of UrlParseError

message: Stringsource: ParseError
Unknown

Fields of Unknown

message: Stringsource: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

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.