[][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

Compression

Represents an compression container.

Fields of Compression

algo: CompressionAlgorithm

Compression algorithm used.

Encryption

Represents an encryption container.

Fields of Encryption

sym_algo: SymmetricAlgorithm

Symmetric algorithm used.

aead_algo: Option<AEADAlgorithm>

AEAD algorithm used, if any.

SignatureGroup

Represents a signature group.

Fields of SignatureGroup

results: Vec<VerificationResult<'a>>

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
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> BorrowMut 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]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip for T where
    V: MultiLane<T>,