[−][src]Enum pgp::armor::BlockType
Armor block types.
Both OpenPGP (RFC4880) and OpenSSL PEM armor types are included.
Variants
PGP public key
PublicKeyPKCS1(PKCS1Type)
PEM encoded PKCS#1 public key
PEM encoded PKCS#8 public key
Public key OpenSSH
PGP private key
PrivateKeyPKCS1(PKCS1Type)
PEM encoded PKCS#1 private key
PEM encoded PKCS#8 private key
OpenSSH private key
Trait Implementations
impl Clone for BlockType
[src]
impl Copy for BlockType
[src]
impl Debug for BlockType
[src]
impl Display for BlockType
[src]
impl Eq for BlockType
[src]
impl PartialEq<BlockType> for BlockType
[src]
impl Serialize for BlockType
[src]
fn to_writer<W: Write>(&self, w: &mut W) -> Result<()>
[src]
fn to_bytes(&self) -> Result<Vec<u8>>
[src]
impl StructuralEq for BlockType
[src]
impl StructuralPartialEq for BlockType
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,