/// Create a new instance with the given default rules.
/// If no rules are set, a a [`FirewallRequest::PeerSpecificRule`] will be sent through the firewall-channel on
/// inbound **and outbound** requests.
Create a new instance with the given default rules.
If no rules are set, a a [`FirewallRequest::PeerSpecificRule`] will be sent through the firewall-channel on
inbound **and outbound** requests.
Create a new instance with the given default rules . If no rules are set a a [ ` FirewallRequest :: PeerSpecificRule ` ] will be sent through the firewall - channel on inbound ** and outbound ** requests .
pub fn new(default_in: Option<Rule<TRq>>, default_out: Option<Rule<TRq>>) -> Self {
        FirewallConfiguration {
            default: FirewallRules {
                inbound: default_in,
                outbound: default_out,
            },
            peer_rules: HashMap::new(),
        }
    }
pub fn new ( default_in : Option < Rule < TRq > > , default_out : Option < Rule < TRq > > ) -> Self { FirewallConfiguration { default : FirewallRules { inbound : default_in , outbound : default_out , } , peer_rules : HashMap :: new ( ) , } }
Create a new instance with the given default rules.
Create a new instance with the given default rules .
default_in
Option<Rule<TRq>>
default_out
Option<Rule<TRq>>