pub struct EncValue(pub Vec<u8>);Expand description
An AES-256-GCM ciphertext stored at a Tag address on the server. Contains: nonce (12 B) || ciphertext || GCM tag (16 B)
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl<'de> Deserialize<'de> for EncValue
impl<'de> Deserialize<'de> for EncValue
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 EncValue
impl RefUnwindSafe for EncValue
impl Send for EncValue
impl Sync for EncValue
impl Unpin for EncValue
impl UnsafeUnpin for EncValue
impl UnwindSafe for EncValue
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