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

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

Required Methods§

source

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

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

Implementors§