pub enum DeletePublicKeyError {
AccessDenied(String),
InvalidIfMatchVersion(String),
NoSuchPublicKey(String),
PreconditionFailed(String),
PublicKeyInUse(String),
}
Expand description
Errors returned by DeletePublicKey
Variants§
AccessDenied(String)
Access denied.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid for the distribution.
NoSuchPublicKey(String)
The specified public key doesn't exist.
PreconditionFailed(String)
The precondition given in one or more of the request header fields evaluated to false
.
PublicKeyInUse(String)
The specified public key is in use.
Implementations§
Source§impl DeletePublicKeyError
impl DeletePublicKeyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeletePublicKeyError>
Trait Implementations§
Source§impl Debug for DeletePublicKeyError
impl Debug for DeletePublicKeyError
Source§impl Display for DeletePublicKeyError
impl Display for DeletePublicKeyError
Source§impl Error for DeletePublicKeyError
impl Error for DeletePublicKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DeletePublicKeyError
impl PartialEq for DeletePublicKeyError
impl StructuralPartialEq for DeletePublicKeyError
Auto Trait Implementations§
impl Freeze for DeletePublicKeyError
impl RefUnwindSafe for DeletePublicKeyError
impl Send for DeletePublicKeyError
impl Sync for DeletePublicKeyError
impl Unpin for DeletePublicKeyError
impl UnwindSafe for DeletePublicKeyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more