pub(super) fn first_supported<'a, T: Copy>(
requested: impl IntoIterator<Item = &'a str>,
supported: &[(&'static str, T)],
) -> Option<(T, &'static str)>Expand description
The first of the protocols a client requested which the server supports, in the order of the client, with its name.