Struct trust_dns::authority::Catalog
[−]
[src]
pub struct Catalog { // some fields omitted }
Methods
impl Catalog
[src]
fn new() -> Self
fn handle_request(&self, request: Message) -> Message
fn error_msg(id: u16, op_code: OpCode, response_code: ResponseCode) -> Message
fn upsert(&mut self, name: Name, authority: Authority)
fn update(&self, request: &Message) -> Message
The "request" should be an update formatted message. The response will be in the alternate, all 0's format described in RFC 2136 section 3.8 as this is more efficient.