pub async fn sync_session<S>(opts: SyncOpts<'_>, stream: S) -> Result<SyncStats>where S: AsyncRead + AsyncWrite + Unpin,