[][src]Enum sequoia_openpgp::parse::stream::MessageLayer

pub enum MessageLayer<'a> {
    Compression {
        algo: CompressionAlgorithm,
    },
    Encryption {
        sym_algo: SymmetricAlgorithm,
        aead_algo: Option<AEADAlgorithm>,
    },
    SignatureGroup {
        results: Vec<VerificationResult<'a>>,
    },
}

Represents a layer of the message structure.

Variants

Represents an compression container.

Fields of Compression

Compression algorithm used.

Represents an encryption container.

Fields of Encryption

Symmetric algorithm used.

AEAD algorithm used, if any.

Represents a signature group.

Fields of SignatureGroup

The results of the signature verifications.

Trait Implementations

impl<'a> Debug for MessageLayer<'a>
[src]

Auto Trait Implementations

impl<'a> !Send for MessageLayer<'a>

impl<'a> !Sync for MessageLayer<'a>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]