auto merge of #12149 : thomaslee/rust/ipaddr_deriving_iter_bytes, r=cmr
auto merge of #12149 : thomaslee/rust/ipaddr_deriving_iter_bytes, r=cmr

This is a fairly trivial (but IMHO handy) change to implement IterBytes for IpAddr and SocketAddr.

I originally stumbled across this because I wanted to use a SocketAddr as a HashMap key and discovered that I couldn't do it directly. Had to impl IterBytes on a new intermediate type to work around it.

kimroen/rust,zubron/rust,cllns/rust,kwantam/rust,carols10cents/rust,seanrivera/rust,seanrivera/rust,0x73/rust,l0kod/rust,aturon/rust,aepsil0n/rust,gifnksm/rust,untitaker/rust,mdinger/rust,dinfuehr/rust,TheNeikos/rust,GBGamer/rust,pczarn/rust,mdinger/rust,kwantam/rust,quornian/rust,aturon/rust,mihneadb/rust,aidancully/rust,vhbit/rust,vhbit/rust,graydon/rust,gifnksm/rust,zaeleus/rust,servo/rust,quornian/rust,P1start/rust,omasanori/rust,aturon/rust,rprichard/rust,jashank/rust,reem/rust,sae-bom/rust,XMPPwocky/rust,jroesch/rust,nham/rust,bombless/rust-docs-chinese,jashank/rust,robertg/rust,untitaker/rust,jbclements/rust,andars/rust,gifnksm/rust,GrahamDennis/rand,aidancully/rust,erickt/rust,rohitjoshi/rust,ktossell/rust,philyoon/rust,dwillmer/rust,rohitjoshi/rust,XMPPwocky/rust,achanda/rand,quornian/rust,bombless/rust,kwantam/rust,robertg/rust,rohitjoshi/rust,jashank/rust,0x73/rust,untitaker/rust,pelmers/rust,ktossell/rust,TheNeikos/rust,TheNeikos/rust,jbclements/rust,avdi/rust,reem/rust,jroesch/rust,ebfull/rust,jroesch/rust,robertg/rust,l0kod/rust,miniupnp/rust,defuz/rust,jbclements/rust,victorvde/rust,mvdnes/rust,0x73/rust,ebfull/rust,rprichard/rust,philyoon/rust,pythonesque/rust,aneeshusa/rust,andars/rust,Ryman/rust,dinfuehr/rust,l0kod/rust,cllns/rust,KokaKiwi/rust,zaeleus/rust,KokaKiwi/rust,omasanori/rust,graydon/rust,barosl/rust,reem/rust,AerialX/rust,nham/rust,0x73/rust,erickt/rust,KokaKiwi/rust,mvdnes/rust,pythonesque/rust,defuz/rust,aneeshusa/rust,defuz/rust,pshc/rust,graydon/rust,P1start/rust,miniupnp/rust,graydon/rust,GBGamer/rust,michaelballantyne/rust-gpu,vhbit/rust,aturon/rust,dwillmer/rust,seanrivera/rust,TheNeikos/rust,kimroen/rust,zubron/rust,nham/rust,aturon/rust,arthurprs/rand,richo/rust,stepancheg/rust-ide-rust,nwin/rust,zachwick/rust,erickt/rust,pshc/rust,l0kod/rust,barosl/rust,dwillmer/rust,mahkoh/rust,avdi/rust,zubron/rust,seanrivera/rust,vhbit/rust,AerialX/rust,nham/rust,jashank/rust,jroesch/rust,AerialX/rust-rt-minimal,aturon/rust,dwillmer/rust,defuz/rust,miniupnp/rust,kwantam/rust,zaeleus/rust,dinfuehr/rust,GBGamer/rust,kimroen/rust,zachwick/rust,Ryman/rust,miniupnp/rust,P1start/rust,KokaKiwi/rust,aepsil0n/rust,jashank/rust,AerialX/rust-rt-minimal,XMPPwocky/rust,mdinger/rust,Ryman/rust,mihneadb/rust,omasanori/rust,TheNeikos/rust,barosl/rust,pelmers/rust,richo/rust,hauleth/rust,miniupnp/rust,ruud-v-a/rust,carols10cents/rust,l0kod/rust,philyoon/rust,pythonesque/rust,omasanori/rust,pshc/rust,sae-bom/rust,zaeleus/rust,victorvde/rust,l0kod/rust,AerialX/rust,carols10cents/rust,victorvde/rust,ejjeong/rust,AerialX/rust-rt-minimal,mdinger/rust,cllns/rust,victorvde/rust,mahkoh/rust,dinfuehr/rust,nwin/rust,ruud-v-a/rust,jroesch/rust,dwillmer/rust,XMPPwocky/rust,ktossell/rust,aneeshusa/rust,AerialX/rust,pythonesque/rust,ebfull/rand,cllns/rust,zaeleus/rust,richo/rust,gifnksm/rust,vhbit/rust,ejjeong/rust,rohitjoshi/rust,defuz/rust,hauleth/rust,aepsil0n/rust,jroesch/rust,gifnksm/rust,graydon/rust,emk/rust,victorvde/rust,bhickey/rand,defuz/rust,michaelballantyne/rust-gpu,ebfull/rust,carols10cents/rust,kimroen/rust,zachwick/rust,nwin/rust,richo/rust,stepancheg/rust-ide-rust,zubron/rust,ejjeong/rust,mihneadb/rust,Ryman/rust,graydon/rust,jbclements/rust,erickt/rust,michaelballantyne/rust-gpu,zubron/rust,mihneadb/rust,XMPPwocky/rust,mdinger/rust,dwillmer/rust,sae-bom/rust,mahkoh/rust,emk/rust,kimroen/rust,zachwick/rust,victorvde/rust,avdi/rust,mvdnes/rust,sae-bom/rust,untitaker/rust,krzysz00/rust,pelmers/rust,Ryman/rust,ruud-v-a/rust,nwin/rust,bombless/rust,aturon/rust,ktossell/rust,retep998/rand,servo/rust,GBGamer/rust,mdinger/rust,untitaker/rust,avdi/rust,stepancheg/rust-ide-rust,carols10cents/rust,robertg/rust,0x73/rust,quornian/rust,bombless/rust,andars/rust,ruud-v-a/rust,emk/rust,quornian/rust,sae-bom/rust,dinfuehr/rust,0x73/rust,michaelballantyne/rust-gpu,servo/rust,huonw/rand,jashank/rust,jbclements/rust,stepancheg/rust-ide-rust,zaeleus/rust,zubron/rust,ebfull/rust,aepsil0n/rust,andars/rust,ejjeong/rust,nwin/rust,pczarn/rust,mvdnes/rust,jbclements/rust,quornian/rust,emk/rust,mahkoh/rust,richo/rust,nham/rust,barosl/rust,aidancully/rust,barosl/rust,pythonesque/rust,KokaKiwi/rust,AerialX/rust,GBGamer/rust,mahkoh/rust,pczarn/rust,andars/rust,stepancheg/rust-ide-rust,gifnksm/rust,zachwick/rust,servo/rust,andars/rust,pczarn/rust,aneeshusa/rust,l0kod/rust,ejjeong/rust,hauleth/rust,pczarn/rust,sae-bom/rust,bluss/rand,GBGamer/rust,philyoon/rust,vhbit/rust,vhbit/rust,pczarn/rust,pshc/rust,miniupnp/rust,hauleth/rust,michaelballantyne/rust-gpu,seanrivera/rust,bombless/rust,rprichard/rust,cllns/rust,shepmaster/rand,aidancully/rust,rohitjoshi/rust,mvdnes/rust,avdi/rust,GBGamer/rust,Ryman/rust,servo/rust,michaelballantyne/rust-gpu,nham/rust,AerialX/rust-rt-minimal,ktossell/rust,nwin/rust,nham/rust,krzysz00/rust,erickt/rust,barosl/rust,aneeshusa/rust,zubron/rust,AerialX/rust-rt-minimal,mahkoh/rust,AerialX/rust,P1start/rust,GBGamer/rust,pshc/rust,rohitjoshi/rust,aneeshusa/rust,reem/rust,richo/rust,hauleth/rust,hauleth/rust,dinfuehr/rust,carols10cents/rust,l0kod/rust,pshc/rust,robertg/rust,TheNeikos/rust,aidancully/rust,jroesch/rust,cllns/rust,pshc/rust,ktossell/rust,AerialX/rust-rt-minimal,nwin/rust,stepancheg/rust-ide-rust,pythonesque/rust,bombless/rust,krzysz00/rust,ebfull/rust,dwillmer/rust,mihneadb/rust,avdi/rust,jbclements/rust,untitaker/rust,pelmers/rust,kimroen/rust,robertg/rust,ruud-v-a/rust,emk/rust,rprichard/rust,pythonesque/rust,kwantam/rust,jbclements/rust,krzysz00/rust,philyoon/rust,jashank/rust,ejjeong/rust,seanrivera/rust,0x73/rust,krzysz00/rust,zubron/rust,emk/rust,ruud-v-a/rust,aepsil0n/rust,jroesch/rust,Ryman/rust,miniupnp/rust,KokaKiwi/rust,emk/rust,zachwick/rust,vhbit/rust,bombless/rust,pelmers/rust,kimroen/rust,omasanori/rust,stepancheg/rust-ide-rust,barosl/rust,nwin/rust,dwillmer/rust,waynenilsen/rand,mihneadb/rust,rprichard/rust,aepsil0n/rust,aidancully/rust,erickt/rust,reem/rust,servo/rust,krzysz00/rust,reem/rust,ktossell/rust,mvdnes/rust,jashank/rust,P1start/rust,philyoon/rust,P1start/rust,XMPPwocky/rust,pshc/rust,jbclements/rust,erickt/rust,omasanori/rust,kwantam/rust,rprichard/rust,pelmers/rust,ebfull/rust,pczarn/rust,michaelballantyne/rust-gpu,miniupnp/rust,quornian/rust,P1start/rust,servo/rust