Docs.rs
  • pgp-lib-0.1.0
    • pgp-lib 0.1.0
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • soywod
    • Dependencies
      • async-recursion ^1.0 normal
      • futures ^0.3 normal
      • hyper ^0.14 normal
      • hyper-rustls ^0.24 normal
      • log ^0.4 normal
      • pgp ^0.10 normal
      • rand ^0.8 normal
      • sha1 ^0.10 normal
      • smallvec ^1 normal
      • thiserror ^1.0 normal
      • tokio ^1.23 normal
      • url ^2.4 normal
      • z-base-32 ^0.1 normal
      • concat-with ^0.2 dev
      • env_logger ^0.10 dev
      • tempfile ^3.3 dev
      • tokio ^1.23 dev
    • Versions
    • 40.26% of the crate is documented
  • This release has been yanked, go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

PacketTrait

Required Methods

  • packet_version
  • tag

Implementations on Foreign Types

  • &'a T

Implementors

In pgp::native::packet

?
Change settings

Trait pgp::native::packet::PacketTrait

source ·
pub trait PacketTrait: Serialize {
    // Required methods
    fn packet_version(&self) -> Version;
    fn tag(&self) -> Tag;
}

Required Methods§

source

fn packet_version(&self) -> Version

source

fn tag(&self) -> Tag

Implementations on Foreign Types§

source§

impl<'a, T> PacketTrait for &'a Twhere T: 'a + PacketTrait,

source§

fn packet_version(&self) -> Version

source§

fn tag(&self) -> Tag

Implementors§

source§

impl PacketTrait for UserAttribute

source§

impl PacketTrait for Signature

source§

impl PacketTrait for CompressedData

source§

impl PacketTrait for LiteralData

source§

impl PacketTrait for Marker

source§

impl PacketTrait for ModDetectionCode

source§

impl PacketTrait for OnePassSignature

source§

impl PacketTrait for PublicKey

source§

impl PacketTrait for PublicKeyEncryptedSessionKey

source§

impl PacketTrait for PublicSubkey

source§

impl PacketTrait for SecretKey

source§

impl PacketTrait for SecretSubkey

source§

impl PacketTrait for SymEncryptedData

source§

impl PacketTrait for SymEncryptedProtectedData

source§

impl PacketTrait for SymKeyEncryptedSessionKey

source§

impl PacketTrait for Trust

source§

impl PacketTrait for UserId