fn serialize<W: Write>(&self, dlen: usize, w: &mut W) -> io::Result<()> {
        let rh = RawIpv4PacketHeader::new(self, dlen);
        try!(w.write_all(utils::as_bytes(&rh)));
        w.write_all(utils::slice_as_bytes(&self.options))
    }
/// Serialize header in-place using a given writer.
Serialize header in-place using a given writer.
Serialize header in - place using a given writer .
fn serialize<W: Write>(&self, dlen: usize, w: &mut W) -> io::Result<()> {
        let rh = RawIpv4PacketHeader::new(self, dlen);
        try!(w.write_all(utils::as_bytes(&rh)));
        w.write_all(utils::slice_as_bytes(&self.options))
    }
fn serialize < W : Write > ( & self , dlen : usize , w : & mut W ) -> io :: Result < ( ) > { let rh = RawIpv4PacketHeader :: new ( self , dlen ) ; try ! ( w write_all ( utils as_bytes ( rh ) ) ) ; w . write_all ( utils :: slice_as_bytes ( & self . options ) ) }
Serialize header in-place using a given writer.
Serialize header in - place using a given writer .
&self
dlen
usize
w
&mut W
&self
dlen
usize
w
&mut W