dns_parser/rdata/
opt.rs

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!();
    }
}