pub struct UnsupportedKeyManagementProvider;Expand description
Explicit fail-closed provider used when no production KMS integration is configured. KMS-backed encryption must not silently fall back to local metadata-only behavior.
Trait Implementations§
Source§impl Default for UnsupportedKeyManagementProvider
impl Default for UnsupportedKeyManagementProvider
Source§fn default() -> UnsupportedKeyManagementProvider
fn default() -> UnsupportedKeyManagementProvider
Returns the “default value” for a type. Read more
Source§impl KeyManagementProvider for UnsupportedKeyManagementProvider
impl KeyManagementProvider for UnsupportedKeyManagementProvider
fn provider_id(&self) -> &str
fn wrap_key( &self, _key_id: &str, _plaintext_key: &[u8], ) -> Result<KmsWrappedKey, KeyManagementError>
fn unwrap_key( &self, _wrapped: &KmsWrappedKey, ) -> Result<Zeroizing<Vec<u8>>, KeyManagementError>
fn rewrap_key( &self, _wrapped: &KmsWrappedKey, _new_key_id: &str, ) -> Result<KmsWrappedKey, KeyManagementError>
fn provider_health(&self) -> KeyManagementHealth
Auto Trait Implementations§
impl Freeze for UnsupportedKeyManagementProvider
impl RefUnwindSafe for UnsupportedKeyManagementProvider
impl Send for UnsupportedKeyManagementProvider
impl Sync for UnsupportedKeyManagementProvider
impl Unpin for UnsupportedKeyManagementProvider
impl UnsafeUnpin for UnsupportedKeyManagementProvider
impl UnwindSafe for UnsupportedKeyManagementProvider
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more