pub enum Security<'e> {
Keep,
None,
Encrypt(&'e Encryption),
}Expand description
the encryption of a document written in full
Variants§
Keep
as the document has it (its /Encrypt and key; none when it has none)
None
not encrypted
Encrypt(&'e Encryption)
encrypted anew
Trait Implementations§
Auto Trait Implementations§
impl<'e> Forget for Security<'e>
impl<'e> Freeze for Security<'e>where
&'e Encryption: Freeze,
impl<'e> Move for Security<'e>
impl<'e> RefUnwindSafe for Security<'e>
impl<'e> Send for Security<'e>where
&'e Encryption: Send,
impl<'e> Sync for Security<'e>where
RawVecInner: Sync,
impl<'e> Unpin for Security<'e>where
&'e Encryption: Unpin,
impl<'e> UnsafeUnpin for Security<'e>where
&'e Encryption: UnsafeUnpin,
impl<'e> UnwindSafe for Security<'e>where
&'e Encryption: UnwindSafe,
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