useofp_header::OfpHeader;/// OpenFlow Message
////// Version-agnostic API for handling OpenFlow messages at the byte-buffer level.
pubtraitOfpMessage{/// Return the byte-size of an `OfpMessage`.
fnsize_of(&Self)->usize;/// Create an `OfpHeader` for the given transaction id and OpenFlow message.
fnheader_of(u32, &Self)-> OfpHeader;/// Return a marshaled buffer containing an OpenFlow header and the message `msg`.
fnmarshal(u32, Self)->Vec<u8>;/// Returns a pair `(u32, OfpMessage)` of the transaction id and OpenFlow message parsed from
/// the given OpenFlow header `header`, and buffer `buf`.
fnparse(&OfpHeader, &[u8])->(u32, Self);}