Trait trust_dns::op::message::UpdateMessage [] [src]

pub trait UpdateMessage: Debug {
    fn get_id(&self) -> u16;
    fn add_zone(&mut self, query: Query);
    fn add_pre_requisite(&mut self, record: Record);
    fn add_all_pre_requisites(&mut self, vector: &[&Record]);
    fn add_pre_requisites<R, I>(&mut self, records: R) where R: IntoIterator<Item=Record, IntoIter=I>, I: Iterator<Item=Record>;
    fn add_update(&mut self, record: Record);
    fn add_all_updates(&mut self, vector: &[&Record]);
    fn add_updates<R, I>(&mut self, records: R) where R: IntoIterator<Item=Record, IntoIter=I>, I: Iterator<Item=Record>;
    fn add_additional(&mut self, record: Record);
    fn get_zones(&self) -> &[Query];
    fn get_pre_requisites(&self) -> &[Record];
    fn get_updates(&self) -> &[Record];
    fn get_additionals(&self) -> &[Record];
    fn get_sig0(&self) -> &[Record];
    fn sign(&mut self, signer: &Signer, inception_time: u32) -> DnsSecResult<()>;
}

to reduce errors in using the Message struct as an Update, this will do the call throughs to properly do that.

Required Methods

Deprecated

Deprecated

This is used to authenticate update messages.

see Message::get_sig0() for more information.

Implementors