/// Determines if an inbound packet matches at least one of the rules in the set.
Determines if an inbound packet matches at least one of the rules in the set.
Determines if an inbound packet matches at least one of the rules in the set .
pub fn match_inbound_packet(&self, packet: &[u8]) -> bool {
        for rule in self.0.iter() {
            if rule.match_inbound_packet(packet) {
                return true;
            }
        }
        return false;
    }
pub fn match_inbound_packet ( & self , packet : & [ u8 ] ) -> bool { for rule in self . 0 . iter ( ) { if rule . match_inbound_packet ( packet ) { return true ; } } return false ; }
Determines if an inbound packet matches at least one of the rules in the set.
Determines if an inbound packet matches at least one of the rules in the set .
&self
packet
&[u8]