pub fn new_with_deadline(
        query: Query,
        records: Arc<Vec<Record>>,
        valid_until: Instant,
    ) -> Self {
        Lookup {
            query,
            records,
            valid_until,
        }
    }
/// Return a new instance with the given records and deadline.
Return a new instance with the given records and deadline.
Return a new instance with the given records and deadline .
pub fn new_with_deadline(
        query: Query,
        records: Arc<Vec<Record>>,
        valid_until: Instant,
    ) -> Self {
        Lookup {
            query,
            records,
            valid_until,
        }
    }
pub fn new_with_deadline ( query : Query , records : Arc < Vec < Record > > , valid_until : Instant , ) -> Self { Lookup { query , records , valid_until , } }
Return a new instance with the given records and deadline.
Return a new instance with the given records and deadline .
query
Query
records
Arc<Vec<Record>>
valid_until
Instant
query
Query
records
Arc<Vec<Record>>
valid_until
Instant