summaryrefslogtreecommitdiffstats
path: root/third_party/rust/dns-parser/src/rdata/opt.rs
blob: 694d393440a5764ee1f08e0c7d6e88ce93613ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// RFC 6891 OPT RR
#[derive(Debug)]
pub struct Record<'a> {
    pub udp: u16,
    pub extrcode: u8,
    pub version: u8,
    pub flags: u16,
    pub data: super::RData<'a>,
}

impl<'a> super::Record<'a> for Record<'a> {

    const TYPE: isize = 41;

    fn parse(_rdata: &'a [u8], _original: &'a [u8]) -> super::RDataResult<'a> {
        unimplemented!();
    }
}