[−][src]Trait packet_crafter::headers::Header
Required methods
fn make(self) -> PacketData
fn parse(raw_data: &[u8]) -> Result<Box<Self>, ParseError>
fn get_proto(&self) -> Protocol
fn get_length(&self) -> u8
fn get_min_length() -> u8
Implementations on Foreign Types
impl<T: Header> Header for Box<T>
[src]
fn make(self) -> PacketData
[src]
fn parse(raw_data: &[u8]) -> Result<Box<Self>, ParseError>
[src]
parse() should never be run from a box