Skip to main content

EncryptingWrite

Trait EncryptingWrite 

Source
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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§