[−][src]Enum osauth::ErrorKind
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.
InvalidConfig
Invalid clouds.yaml file.
__Nonexhaustive
Methods
impl ErrorKind
[src]
pub fn description(&self) -> &'static str
[src]
Short description of the error kind.
Trait Implementations
impl Copy for ErrorKind
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
fn eq(&self, other: &ErrorKind) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl From<StatusCode> for ErrorKind
[src]
fn from(value: StatusCode) -> ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ErrorKind
[src]
impl Display for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl Hash for ErrorKind
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,