pub fn parse_header(datagram: &[u8]) -> Result<GvspHeader, GvspError>Expand description
Parse only the header of a GVSP datagram.
What a packet that carries nothing else needs: a device answering a resend
request it cannot serve sends a bare header with an error status, which
parse_packet_ref would refuse as a truncated leader or trailer.