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
impl Copy for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more