pub trait EncryptingWrite: Write { // Required method fn close(&mut self) -> Result<(), TinkError>; }
Trait for an object that writes encrypted data. Users must call close() to finish.
close()
Close the stream, writing any final buffered data. Any operation on the stream after this will fail.