pub enum KmsKeyUnusable {
NotFound,
Disabled,
InvalidState(String),
AccessDenied(String),
}Expand description
Why an AWS service principal cannot use a KMS key
(KmsHook::check_service_key_use).
Variants§
NotFound
No key with that id, ARN or alias exists.
Disabled
The key is disabled.
InvalidState(String)
The key is in another non-usable state (PendingDeletion, …).
AccessDenied(String)
The key policy of the (resolved) key, whose ARN this carries, does not allow the service principal.
Trait Implementations§
Source§impl Clone for KmsKeyUnusable
impl Clone for KmsKeyUnusable
Source§impl Debug for KmsKeyUnusable
impl Debug for KmsKeyUnusable
impl Eq for KmsKeyUnusable
Source§impl PartialEq for KmsKeyUnusable
impl PartialEq for KmsKeyUnusable
impl StructuralPartialEq for KmsKeyUnusable
Auto Trait Implementations§
impl Forget for KmsKeyUnusable
impl Freeze for KmsKeyUnusable
impl Move for KmsKeyUnusable
impl RefUnwindSafe for KmsKeyUnusable
impl Send for KmsKeyUnusable
impl Sync for KmsKeyUnusable
impl Unpin for KmsKeyUnusable
impl UnsafeUnpin for KmsKeyUnusable
impl UnwindSafe for KmsKeyUnusable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.