pub fn balance_list(list: impl Iterator<Item = Endpoint>) -> Self {
        let (channel, tx) = Self::balance_channel(DEFAULT_BUFFER_SIZE);
        list.for_each(|endpoint| {
            tx.try_send(Change::Insert(endpoint.uri.clone(), endpoint))
                .unwrap();
        });

        channel
    }
Balance a list of [`Endpoint`]'s.

This creates a [`Channel`] that will load balance across all the
provided endpoints.
tonic/src/transport/channel/mod.rs