Function choose_supported

Source
pub fn choose_supported<I, T>(it: I) -> Option<T>
where I: IntoIterator<Item = T>, T: AsRef<str>,
Expand description

From a sequence of transfer syntaxes, choose the first transfer syntax to be supported by the main transfer syntax registry.