Enum sequoia_openpgp::armor::Kind
source · pub enum Kind {
Message,
PublicKey,
SecretKey,
Signature,
File,
}
Expand description
Specifies the type of data (see RFC 4880, section 6.2).
Variants§
Message
A generic OpenPGP message. (Since its structure hasn’t been
validated, in this crate’s terminology, this is just a
PacketPile
.)
PublicKey
A certificate.
SecretKey
A transferable secret key.
Signature
A detached signature.
File
A generic file. This is a GnuPG extension.
Trait Implementations§
source§impl PartialEq for Kind
impl PartialEq for Kind
impl Copy for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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