fn queued_destinations<S, F, C>( seek: S, owns: C, ) -> impl Stream<Item = Result<Destination>> + Sendwhere S: Fn(Vec<u8>) -> F + Send, F: Future<Output = Result<Option<Vec<u8>>>> + Send, C: Fn(&ServerName) -> bool + Copy + Send,