pub enum DecryptedContent {
Xml(String),
Bytes(Vec<u8>),
}Expand description
Plaintext returned from XMLEnc decryption.
Variants§
Xml(String)
XML plaintext for Element and Content encrypted data.
Bytes(Vec<u8>)
Binary plaintext when the encrypted data has no standard XML type hint.
Trait Implementations§
Source§impl Clone for DecryptedContent
impl Clone for DecryptedContent
Source§fn clone(&self) -> DecryptedContent
fn clone(&self) -> DecryptedContent
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 moreSource§impl Debug for DecryptedContent
impl Debug for DecryptedContent
impl Eq for DecryptedContent
Source§impl PartialEq for DecryptedContent
impl PartialEq for DecryptedContent
impl StructuralPartialEq for DecryptedContent
Auto Trait Implementations§
impl Freeze for DecryptedContent
impl RefUnwindSafe for DecryptedContent
impl Send for DecryptedContent
impl Sync for DecryptedContent
impl Unpin for DecryptedContent
impl UnsafeUnpin for DecryptedContent
impl UnwindSafe for DecryptedContent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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