Struct simplestcrypt::Encrypted
source · [−]pub struct Encrypted { /* private fields */ }
Expand description
Contains the Nonce used in the encryption process. This type is inflated when serialized using bincode (16 bytes for the nonce + 8 bytes with size of the Vec + (rest of bytes for Vec ciphertext).
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Encrypted
impl<'de> Deserialize<'de> for Encrypted
sourcefn 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 RefUnwindSafe for Encrypted
impl Send for Encrypted
impl Sync for Encrypted
impl Unpin for Encrypted
impl UnwindSafe for Encrypted
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more