[][src]Trait tink_core::EncryptingWrite

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

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

Required methods

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

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

Loading content...

Implementors

Loading content...