pub struct UnknownStanza {
pub tag: u16,
pub fields: Vec<Vec<u8>>,
}Expand description
A recipient stanza of a type this implementation does not know. It is kept so the header re-encodes canonically and a signature can cover it, and it is skipped when looking for a key: a future recipient type must not make the file unreadable to the recipients it already had.
Fields§
§tag: u16§fields: Vec<Vec<u8>>Trait Implementations§
Source§impl Clone for UnknownStanza
impl Clone for UnknownStanza
Source§fn clone(&self) -> UnknownStanza
fn clone(&self) -> UnknownStanza
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 UnknownStanza
impl Debug for UnknownStanza
impl Eq for UnknownStanza
Source§impl PartialEq for UnknownStanza
impl PartialEq for UnknownStanza
impl StructuralPartialEq for UnknownStanza
Auto Trait Implementations§
impl Freeze for UnknownStanza
impl RefUnwindSafe for UnknownStanza
impl Send for UnknownStanza
impl Sync for UnknownStanza
impl Unpin for UnknownStanza
impl UnsafeUnpin for UnknownStanza
impl UnwindSafe for UnknownStanza
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