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
AuthenticationFailedAuthentication failure
Maps to HTTP 401.
AccessDeniedAccess denied.
Maps to HTTP 403.
ResourceNotFoundRequested resource was not found.
Roughly maps to HTTP 404 and 410.
TooManyItemsRequest returned more items than expected.
EndpointNotFoundRequested service endpoint was not found.
InvalidInputInvalid value passed to one of paremeters.
May be result of HTTP 400.
IncompatibleApiVersionUnsupported or incompatible API version.
May be a result of HTTP 406.
ConflictConflict in the request.
OperationTimedOutOperation has reached the specified time out.
OperationFailedOperation failed to complete.
ProtocolErrorProtocol-level error reported by underlying HTTP library.
InvalidResponseResponse received from the server is malformed.
InternalServerErrorInternal server error.
Maps to HTTP 5xx codes.
__Nonexhaustive
Methods
impl ErrorKind[src]
fn description(&self) -> &'static str[src]
Short description of the error kind.
Trait Implementations
impl Debug for ErrorKind[src]
impl Clone for ErrorKind[src]
fn clone(&self) -> ErrorKind[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ErrorKind[src]
impl PartialEq for ErrorKind[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.