fn add_rrset(&mut self, owner: &Name, rrset: &Rrset) -> Result<usize> {
        let mut n_added = 0;
        for rdata in rrset.rdatas() {
            self.add_rr(owner, rrset.rr_type, rrset.class, rrset.ttl, rdata)?;
            n_added += 1;
        }
        Ok(n_added)
    }
/// Writes out an RRset at the current cursor. This is for internal
/// use: the write is not done atomically and may change the cursor
/// even when an error is returned. This is intended to be used with
/// [`Writer::with_rollback`].
Writes out an RRset at the current cursor. This is for internal
use: the write is not done atomically and may change the cursor
even when an error is returned. This is intended to be used with
[`Writer::with_rollback`].
Writes out an RRset at the current cursor . This is for internal use : the write is not done atomically and may change the cursor even when an error is returned . This is intended to be used with [ ` Writer :: with_rollback ` ] .
fn add_rrset(&mut self, owner: &Name, rrset: &Rrset) -> Result<usize> {
        let mut n_added = 0;
        for rdata in rrset.rdatas() {
            self.add_rr(owner, rrset.rr_type, rrset.class, rrset.ttl, rdata)?;
            n_added += 1;
        }
        Ok(n_added)
    }
fn add_rrset ( & mut self , owner : & Name , rrset : & Rrset ) -> Result < usize > { let mut n_added = 0 ; for rdata in rrset . rdatas ( ) { self . add_rr ( owner , rrset . rr_type , rrset . class , rrset . ttl , rdata ) ? ; n_added += 1 ; } Ok ( n_added ) }
Writes out an RRset at the current cursor.
Writes out an RRset at the current cursor .
&mut self
owner
&Name
rrset
&Rrset
&mut self
owner
&Name
rrset
&Rrset