pub enum RuleTableV4Request {
NewRuleSet {
priority: u32,
rule_set: ServerEnd<RuleSetV4Marker>,
control_handle: RuleTableV4ControlHandle,
},
}
Expand description
Gives isolated access to the system’s policy routing rules.
Variants§
NewRuleSet
Returns an empty rule set at requested priority.
Clients are free to manage the rules within their own rule set, but not
the rule set of others. Only one rule set is allowed at each priority
level. Channel is closed with ZX_ERR_ALREADY_EXISTS
if there’s already
a rule set at the given priority
.
- request
priority
the priority of thisRuleSetV4
, all rule sets are globally ordered according to this number. - request
rule_set
grants access to theRuleSetV4
protocol.
Implementations§
Source§impl RuleTableV4Request
impl RuleTableV4Request
pub fn into_new_rule_set( self, ) -> Option<(u32, ServerEnd<RuleSetV4Marker>, RuleTableV4ControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleTableV4Request
impl !RefUnwindSafe for RuleTableV4Request
impl Send for RuleTableV4Request
impl Sync for RuleTableV4Request
impl Unpin for RuleTableV4Request
impl !UnwindSafe for RuleTableV4Request
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more