pub trait AsS3Sender<T>: 'static + Send + Syncwhere
    T: 'static + Serialize + Send,
{ fn send(
        &self,
        t: T
    ) -> Pin<Box<dyn Future<Output = Result<(), OneErr>> + Send + 'static, Global>>; fn get_enc_ctx_key(
        &self
    ) -> BufReadSized<lair_keystore_api::::sodium_secretstream::traits::AsS3Sender::get_enc_ctx_key::{constant#0}>; fn get_dec_ctx_key(
        &self
    ) -> BufReadSized<lair_keystore_api::::sodium_secretstream::traits::AsS3Sender::get_dec_ctx_key::{constant#0}>; fn shutdown(
        &self
    ) -> Pin<Box<dyn Future<Output = Result<(), OneErr>> + Send + 'static, Global>>; }
Expand description

The send / write half of a sodium secret stream.

Required Methods§

Send data to the remote side of this connection.

Get outgoing encryption context key.

Get incoming decryption context key.

Shutdown the channel.

Implementors§