pub(super) fn minfos_equal(first: &Rdata, second: &Rdata) -> bool {
    match helpers::test_n_name_fields(first, second, 2) {
        Some(Some(len)) if len == first.len() => true,
        Some(Some(_)) => first == second, // Invalid since there's extra data
        Some(None) => false,
        None => first == second,
    }
}
/// Tests two on-the-wire MINFO records for equality, falling back to
/// bitwise comparison if either is invalid. This is for the
/// implementation of [`Rdata::equals`].
Tests two on-the-wire MINFO records for equality, falling back to
bitwise comparison if either is invalid. This is for the
implementation of [`Rdata::equals`].
Tests two on - the - wire MINFO records for equality falling back to bitwise comparison if either is invalid . This is for the implementation of [ ` Rdata :: equals ` ] .
pub(super) fn minfos_equal(first: &Rdata, second: &Rdata) -> bool {
    match helpers::test_n_name_fields(first, second, 2) {
        Some(Some(len)) if len == first.len() => true,
        Some(Some(_)) => first == second, // Invalid since there's extra data
        Some(None) => false,
        None => first == second,
    }
}
pub ( super ) fn minfos_equal ( first : & Rdata , second : & Rdata ) -> bool { match helpers :: test_n_name_fields ( first , second , 2 ) { Some ( Some ( len ) ) if len == first . len ( ) => true , Some ( Some ( _ ) ) => first == second , // Invalid since there's extra data Some ( None ) => false , None => first == second , } }
Tests two on-the-wire MINFO records for equality, falling back to
bitwise comparison if either is invalid.
Tests two on - the - wire MINFO records for equality falling back to bitwise comparison if either is invalid .
first
&Rdata
second
&Rdata
first
&Rdata
second
&Rdata