[][src]Struct sequoia_openpgp::serialize::writer::AEADEncryptor

pub struct AEADEncryptor<'a, C: 'a> { /* fields omitted */ }

AEAD encrypting writer.

Methods

impl<'a, C: 'a> AEADEncryptor<'a, C>[src]

pub fn new(
    inner: Stack<'a, C>,
    cookie: C,
    cipher: SymmetricAlgorithm,
    aead: AEADAlgorithm,
    chunk_size: usize,
    iv: &[u8],
    key: &SessionKey
) -> Result<Stack<'a, C>>
[src]

Makes an encrypting writer.

Trait Implementations

impl<'a, C: 'a> Debug for AEADEncryptor<'a, C>[src]

impl<'a, C: 'a> Write for AEADEncryptor<'a, C>[src]

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for AEADEncryptor<'a, C>

impl<'a, C> !Send for AEADEncryptor<'a, C>

impl<'a, C> !Sync for AEADEncryptor<'a, C>

impl<'a, C> Unpin for AEADEncryptor<'a, C> where
    C: Unpin

impl<'a, C> !UnwindSafe for AEADEncryptor<'a, C>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<W> WriteBytesExt for W where
    W: Write + ?Sized