pub struct ProtectedData {
pub ciphertext: Vec<u8>,
/* private fields */
}Expand description
TEE-protected data. Serializable for persistence. Cannot be decrypted without the corresponding TEE (or recovery).
Fields§
§ciphertext: Vec<u8>Trait Implementations§
Source§impl Clone for ProtectedData
impl Clone for ProtectedData
Source§fn clone(&self) -> ProtectedData
fn clone(&self) -> ProtectedData
Returns a duplicate of the value. Read more
1.0.0 · 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 ProtectedData
impl Debug for ProtectedData
Source§impl<'de> Deserialize<'de> for ProtectedData
impl<'de> Deserialize<'de> for ProtectedData
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
Auto Trait Implementations§
impl Freeze for ProtectedData
impl RefUnwindSafe for ProtectedData
impl Send for ProtectedData
impl Sync for ProtectedData
impl Unpin for ProtectedData
impl UnsafeUnpin for ProtectedData
impl UnwindSafe for ProtectedData
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