pub(crate) fn append(&self, other: Lookup) -> Self {
        let mut records = Vec::with_capacity(self.len() + other.len());
        records.extend_from_slice(&*self.records);
        records.extend_from_slice(&*other.records);

        // Choose the sooner deadline of the two lookups.
        let valid_until = min(self.valid_until(), other.valid_until());
        Self::new_with_deadline(self.query.clone(), Arc::new(records), valid_until)
    }
/// Clones the inner vec, appends the other vec
Clones the inner vec, appends the other vec
Clones the inner vec appends the other vec
pub(crate) fn append(&self, other: Lookup) -> Self {
        let mut records = Vec::with_capacity(self.len() + other.len());
        records.extend_from_slice(&*self.records);
        records.extend_from_slice(&*other.records);
        // Choose the sooner deadline of the two lookups.
        let valid_until = min(self.valid_until(), other.valid_until());
        Self::new_with_deadline(self.query.clone(), Arc::new(records), valid_until)
    }
pub ( crate ) fn append ( & self , other : Lookup ) -> Self { let mut records = Vec :: with_capacity ( self . len ( ) + other . len ( ) ) ; records . extend_from_slice ( & * self . records ) ; records . extend_from_slice ( & * other . records ) ; // Choose the sooner deadline of the two lookups. let valid_until = min ( self . valid_until ( ) , other . valid_until ( ) ) ; Self :: new_with_deadline ( self . query . clone ( ) , Arc :: new ( records ) , valid_until ) }
Clones the inner vec, appends the other vec
Clones the inner vec appends the other vec
&self
other
Lookup
&self
other
Lookup