(datagram: &[u8])
| 62 | |
| 63 | impl Message { |
| 64 | fn from(datagram: &[u8]) -> Self { |
| 65 | Self { |
| 66 | datagram: Vec::from(datagram), |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | fn query(qname: &str, qtype: QueryType, qclass: QueryClass) -> Self { |
| 71 | let mut datagram = Vec::new(); |
nothing calls this directly
no outgoing calls
no test coverage detected