pub fn parse_message(data: &[u8]) -> Result<Message>Expand description
Parse a single self-contained IPFIX Message.
Only Templates defined in the Message itself are used to decode its Data
Sets; Data Sets with unknown Templates are returned as
Set::UndecodedData. Use a Decoder to keep Templates across Messages.
This uses the default DecoderConfig (Transport::Udp, the transport
of a single datagram): Template Withdrawals are ignored.