pub fn add_addresses<'x, I>(&mut self, items: I) -> &mut Builder
        where I: IntoIterator<Item=&'x (Weight, SocketAddr)>
    {
        self.addresses.push(items.into_iter().cloned().collect());
        self
    }
/// Add set of addresses of the same priority
///
/// You must add all addresses of the same priority with a single call
/// to this function. Next call to `add_addresses` will add addresses with
/// smaller priority
Add set of addresses of the same priority
You must add all addresses of the same priority with a single call
to this function. Next call to `add_addresses` will add addresses with
smaller priority
Add set of addresses of the same priority You must add all addresses of the same priority with a single call to this function . Next call to ` add_addresses ` will add addresses with smaller priority
pub fn add_addresses<'x, I>(&mut self, items: I) -> &mut Builder
        where I: IntoIterator<Item=&'x (Weight, SocketAddr)>
    {
        self.addresses.push(items.into_iter().cloned().collect());
        self
    }
pub fn add_addresses < ' x , I > ( & mut self , items : I ) -> & mut Builder where I : IntoIterator < Item = & ' x ( Weight , SocketAddr ) > { self . addresses . push ( items . into_iter ( ) . cloned ( ) . collect ( ) ) ; self }
Add set of addresses of the same priority
You must add all addresses of the same priority with a single call
to this function.
Add set of addresses of the same priority You must add all addresses of the same priority with a single call to this function .
&mut self
items
I
&mut self
items
I