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