pub fn is_chacha20_poly1305_alg(self) -> bool {
        matches!(
            self,
            Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Chacha20Poly1305)
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Chacha20Poly1305,
                    ..
                }
        )
    }
/// Check if this AEAD algorithm is the (truncated or not) Chacha20-Poly1305 AEAD algorithm.
Check if this AEAD algorithm is the (truncated or not) Chacha20-Poly1305 AEAD algorithm.
Check if this AEAD algorithm is the ( truncated or not ) Chacha20 - Poly1305 AEAD algorithm .
pub fn is_chacha20_poly1305_alg(self) -> bool {
        matches!(
            self,
            Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Chacha20Poly1305)
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Chacha20Poly1305,
                    ..
                }
        )
    }
pub fn is_chacha20_poly1305_alg ( self ) -> bool { matches ! ( self Aead AeadWithDefaultLengthTag ( AeadWithDefaultLengthTag Chacha20Poly1305 ) Aead AeadWithShortenedTag { aead_alg AeadWithDefaultLengthTag Chacha20Poly1305 } ) }
Check if this AEAD algorithm is the (truncated or not) Chacha20-Poly1305 AEAD algorithm.
Check if this AEAD algorithm is the ( truncated or not ) Chacha20 - Poly1305 AEAD algorithm .
self
self