[−][src]Enum pgp::packet::Packet
Variants
CompressedData(CompressedData)
PublicKey(PublicKey)
PublicSubkey(PublicSubkey)
SecretKey(SecretKey)
SecretSubkey(SecretSubkey)
LiteralData(LiteralData)
Marker(Marker)
ModDetectionCode(ModDetectionCode)
OnePassSignature(OnePassSignature)
PublicKeyEncryptedSessionKey(PublicKeyEncryptedSessionKey)
Signature(Signature)
SymEncryptedData(SymEncryptedData)
SymEncryptedProtectedData(SymEncryptedProtectedData)
SymKeyEncryptedSessionKey(SymKeyEncryptedSessionKey)
Trust(Trust)
UserAttribute(UserAttribute)
UserId(UserId)
Implementations
impl Packet
[src]
pub fn tag(&self) -> Tag
[src]
Returns the tag for this packet type.
pub fn packet_version(&self) -> Version
[src]
Trait Implementations
impl Debug for Packet
[src]
impl From<CompressedData> for Packet
[src]
fn from(other: CompressedData) -> Packet
[src]
impl From<Edata> for Packet
[src]
impl From<Esk> for Packet
[src]
impl From<LiteralData> for Packet
[src]
fn from(other: LiteralData) -> Packet
[src]
impl From<Marker> for Packet
[src]
impl From<ModDetectionCode> for Packet
[src]
fn from(other: ModDetectionCode) -> Packet
[src]
impl From<OnePassSignature> for Packet
[src]
fn from(other: OnePassSignature) -> Packet
[src]
impl From<PublicKey> for Packet
[src]
impl From<PublicKeyEncryptedSessionKey> for Packet
[src]
fn from(other: PublicKeyEncryptedSessionKey) -> Packet
[src]
impl From<PublicSubkey> for Packet
[src]
fn from(other: PublicSubkey) -> Packet
[src]
impl From<SecretKey> for Packet
[src]
impl From<SecretSubkey> for Packet
[src]
fn from(other: SecretSubkey) -> Packet
[src]
impl From<Signature> for Packet
[src]
impl From<SymEncryptedData> for Packet
[src]
fn from(other: SymEncryptedData) -> Packet
[src]
impl From<SymEncryptedProtectedData> for Packet
[src]
fn from(other: SymEncryptedProtectedData) -> Packet
[src]
impl From<SymKeyEncryptedSessionKey> for Packet
[src]
fn from(other: SymKeyEncryptedSessionKey) -> Packet
[src]
impl From<Trust> for Packet
[src]
impl From<UserAttribute> for Packet
[src]
fn from(other: UserAttribute) -> Packet
[src]
impl From<UserId> for Packet
[src]
impl Serialize for Packet
[src]
fn to_writer<W: Write>(&self, writer: &mut W) -> Result<()>
[src]
fn to_bytes(&self) -> Result<Vec<u8>>
[src]
impl TryFrom<Packet> for Esk
[src]
impl TryFrom<Packet> for Edata
[src]
impl TryFrom<Packet> for OnePassSignature
[src]
impl TryFrom<Packet> for PublicKeyEncryptedSessionKey
[src]
impl TryFrom<Packet> for Signature
[src]
impl TryFrom<Packet> for SymEncryptedData
[src]
impl TryFrom<Packet> for SymEncryptedProtectedData
[src]
impl TryFrom<Packet> for SymKeyEncryptedSessionKey
[src]
impl TryFrom<Packet> for Trust
[src]
impl TryFrom<Packet> for UserAttribute
[src]
impl TryFrom<Packet> for UserId
[src]
impl TryFrom<Packet> for CompressedData
[src]
impl TryFrom<Packet> for PublicKey
[src]
impl TryFrom<Packet> for PublicSubkey
[src]
impl TryFrom<Packet> for SecretKey
[src]
impl TryFrom<Packet> for SecretSubkey
[src]
impl TryFrom<Packet> for LiteralData
[src]
impl TryFrom<Packet> for Marker
[src]
impl TryFrom<Packet> for ModDetectionCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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, 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>,