Enum openstack::ErrorKind[][src]

pub enum ErrorKind {
    AuthenticationFailed,
    AccessDenied,
    ResourceNotFound,
    TooManyItems,
    EndpointNotFound,
    InvalidInput,
    IncompatibleApiVersion,
    Conflict,
    OperationTimedOut,
    OperationFailed,
    ProtocolError,
    InvalidResponse,
    InternalServerError,
    __Nonexhaustive,
}

Kind of an error.

Variants

Authentication failure

Maps to HTTP 401.

Access denied.

Maps to HTTP 403.

Requested resource was not found.

Roughly maps to HTTP 404 and 410.

Request returned more items than expected.

Requested service endpoint was not found.

Invalid value passed to one of paremeters.

May be result of HTTP 400.

Unsupported or incompatible API version.

May be a result of HTTP 406.

Conflict in the request.

Operation has reached the specified time out.

Operation failed to complete.

Protocol-level error reported by underlying HTTP library.

Response received from the server is malformed.

Internal server error.

Maps to HTTP 5xx codes.

Methods

impl ErrorKind
[src]

Short description of the error kind.

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorKind
[src]

impl PartialEq for ErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ErrorKind
[src]

impl Display for ErrorKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind