pub enum BlockType {
}
Expand description
Armor block types.
Both OpenPGP (RFC 9580) and OpenSSL PEM armor types are included.
Variants§
PublicKey
PGP public key
PublicKeyPKCS1(PKCS1Type)
PEM encoded PKCS#1 public key
PublicKeyPKCS8
PEM encoded PKCS#8 public key
PublicKeyOpenssh
Public key OpenSSH
PrivateKey
PGP private key
PrivateKeyPKCS1(PKCS1Type)
PEM encoded PKCS#1 private key
PrivateKeyPKCS8
PEM encoded PKCS#8 private key
PrivateKeyOpenssh
OpenSSH private key
Message
MultiPartMessage(usize, usize)
Signature
File
CleartextMessage
Cleartext Framework message
Trait Implementations§
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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