Function tcp_handler::encrypt::server_init
source · pub async fn server_init<R: AsyncReadExt + Unpin + Send, P: FnOnce(&str) -> bool>(
stream: &mut R,
identifier: &str,
version: P
) -> Result<RsaPublicKey, StarterError>