Trait tink_core::EncryptingWrite[][src]

pub trait EncryptingWrite: Write {
    fn close(&mut self) -> Result<(), TinkError>;
}
Expand description

Trait for an object that writes encrypted data. Users must call close() to finish.

Required methods

fn close(&mut self) -> Result<(), TinkError>[src]

Close the stream, writing any final buffered data. Any operation on the stream after this will fail.

Implementors