pub enum RuleTableV6Request {
NewRuleSet {
priority: u32,
rule_set: ServerEnd<RuleSetV6Marker>,
control_handle: RuleTableV6ControlHandle,
},
}
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 thisRuleSetV6
, all rule sets are globally ordered according to this number. - request
rule_set
grants access to theRuleSetV6
protocol.
Implementations§
Source§impl RuleTableV6Request
impl RuleTableV6Request
pub fn into_new_rule_set( self, ) -> Option<(u32, ServerEnd<RuleSetV6Marker>, RuleTableV6ControlHandle)>
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 RuleTableV6Request
impl !RefUnwindSafe for RuleTableV6Request
impl Send for RuleTableV6Request
impl Sync for RuleTableV6Request
impl Unpin for RuleTableV6Request
impl !UnwindSafe for RuleTableV6Request
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