pub enum MemorySensitivity {
Normal,
Sensitive,
Secret,
}Expand description
Sensitivity class of a memory record (spec §9.5). Enforcement at the
model-visibility boundary lives in the memory tools: Secret bodies are
never returned to model context.
Variants§
Trait Implementations§
Source§impl Clone for MemorySensitivity
impl Clone for MemorySensitivity
Source§fn clone(&self) -> MemorySensitivity
fn clone(&self) -> MemorySensitivity
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 moreimpl Copy for MemorySensitivity
Source§impl Debug for MemorySensitivity
impl Debug for MemorySensitivity
Source§impl<'de> Deserialize<'de> for MemorySensitivity
impl<'de> Deserialize<'de> for MemorySensitivity
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 MemorySensitivity
Source§impl PartialEq for MemorySensitivity
impl PartialEq for MemorySensitivity
Source§impl Serialize for MemorySensitivity
impl Serialize for MemorySensitivity
impl StructuralPartialEq for MemorySensitivity
Auto Trait Implementations§
impl Freeze for MemorySensitivity
impl RefUnwindSafe for MemorySensitivity
impl Send for MemorySensitivity
impl Sync for MemorySensitivity
impl Unpin for MemorySensitivity
impl UnsafeUnpin for MemorySensitivity
impl UnwindSafe for MemorySensitivity
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.