pub struct MarkerPacket {
pub valid: bool,
}Expand description
Parsed Marker packet.
The Marker packet is obsolete and contains only the three bytes “PGP”. It was used to indicate newer message formats to older PGP versions.
Fields§
§valid: boolWhether the packet contains valid “PGP” magic bytes.
Trait Implementations§
Source§impl Clone for MarkerPacket
impl Clone for MarkerPacket
Source§fn clone(&self) -> MarkerPacket
fn clone(&self) -> MarkerPacket
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 moreAuto Trait Implementations§
impl Freeze for MarkerPacket
impl RefUnwindSafe for MarkerPacket
impl Send for MarkerPacket
impl Sync for MarkerPacket
impl Unpin for MarkerPacket
impl UnsafeUnpin for MarkerPacket
impl UnwindSafe for MarkerPacket
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