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
AuthenticationFailed
Authentication failure
Maps to HTTP 401.
AccessDenied
Access denied.
Maps to HTTP 403.
ResourceNotFound
Requested resource was not found.
Roughly maps to HTTP 404 and 410.
TooManyItems
Request returned more items than expected.
EndpointNotFound
Requested service endpoint was not found.
InvalidInput
Invalid value passed to one of paremeters.
May be result of HTTP 400.
IncompatibleApiVersion
Unsupported or incompatible API version.
May be a result of HTTP 406.
Conflict
Conflict in the request.
OperationTimedOut
Operation has reached the specified time out.
OperationFailed
Operation failed to complete.
ProtocolError
Protocol-level error reported by underlying HTTP library.
InvalidResponse
Response received from the server is malformed.
InternalServerError
Internal server error.
Maps to HTTP 5xx codes.
__Nonexhaustive
Methods
impl ErrorKind
[src]
impl ErrorKind
pub fn description(&self) -> &'static str
[src]
pub fn description(&self) -> &'static str
Short description of the error kind.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Debug for ErrorKind
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 Clone for ErrorKind
[src]
impl Clone for ErrorKind
fn clone(&self) -> ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ErrorKind
[src]
impl Copy for ErrorKind
impl PartialEq for ErrorKind
[src]
impl PartialEq for ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
[src]
fn eq(&self, other: &ErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ErrorKind
[src]
impl Eq for ErrorKind
impl Display for ErrorKind
[src]
impl Display for ErrorKind