Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::sodium_secretstream::new_s3_server
pub fn new_s3_server<T, S, R>(
send: S,
recv: R,
srv_id_pub_key: BufReadSized<32>,
srv_id_sec_key: BufReadSized<32>
) -> impl Future<Output = Result<(S3Sender<T>, S3Receiver<T>), OneErr>> + Send + 'staticwhere
T: 'static + Serialize + for<'de> Deserialize<'de> + Send,
S: 'static + AsyncWrite + Send + Unpin,
R: 'static + AsyncRead + Send + Unpin,
Expand description
Create a new S3 server side pair.