pub enum MemoryCryptoMode {
LocalPlaintext,
LocalEncrypted {
provider: String,
},
HostedKms {
provider: String,
},
}Expand description
Operator-facing classification of how memory secrets are protected at rest.
Variants§
LocalPlaintext
Local/single-user runtime; memory is stored as plaintext and relies on host/file security. No KMS credentials are required.
LocalEncrypted
Local/single-user runtime with an explicitly configured local
file/passphrase-backed provider (e.g. local-passphrase).
HostedKms
Hosted/multi-tenant runtime; memory DEKs are governed by an external KMS.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryCryptoMode
impl Clone for MemoryCryptoMode
Source§fn clone(&self) -> MemoryCryptoMode
fn clone(&self) -> MemoryCryptoMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryCryptoMode
impl Debug for MemoryCryptoMode
Source§impl<'de> Deserialize<'de> for MemoryCryptoMode
impl<'de> Deserialize<'de> for MemoryCryptoMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryCryptoMode
Source§impl PartialEq for MemoryCryptoMode
impl PartialEq for MemoryCryptoMode
Source§fn eq(&self, other: &MemoryCryptoMode) -> bool
fn eq(&self, other: &MemoryCryptoMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryCryptoMode
impl Serialize for MemoryCryptoMode
impl StructuralPartialEq for MemoryCryptoMode
Auto Trait Implementations§
impl Freeze for MemoryCryptoMode
impl RefUnwindSafe for MemoryCryptoMode
impl Send for MemoryCryptoMode
impl Sync for MemoryCryptoMode
impl Unpin for MemoryCryptoMode
impl UnsafeUnpin for MemoryCryptoMode
impl UnwindSafe for MemoryCryptoMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.