pub enum RuleTableRequest<I: FidlRuleAdminIpExt> {
NewRuleSet {
priority: RuleSetPriority,
rule_set: ServerEnd<I::RuleSetMarker>,
control_handle: I::RuleTableControlHandle,
},
}
Expand description
GenericOverIp version of RouteTableV{4, 6}Request.
Variants§
NewRuleSet
Creates a new rule set for the global rule table.
Fields
§
priority: RuleSetPriority
The priority of the the rule set.
§
rule_set: ServerEnd<I::RuleSetMarker>
The server end of the rule set protocol.
§
control_handle: I::RuleTableControlHandle
Control handle to the protocol.
Trait Implementations§
Source§impl<I: Debug + FidlRuleAdminIpExt> Debug for RuleTableRequest<I>
impl<I: Debug + FidlRuleAdminIpExt> Debug for RuleTableRequest<I>
Source§impl From<RuleTableV4Request> for RuleTableRequest<Ipv4>
impl From<RuleTableV4Request> for RuleTableRequest<Ipv4>
Source§fn from(value: RuleTableV4Request) -> Self
fn from(value: RuleTableV4Request) -> Self
Converts to this type from the input type.
Source§impl From<RuleTableV6Request> for RuleTableRequest<Ipv6>
impl From<RuleTableV6Request> for RuleTableRequest<Ipv6>
Source§fn from(value: RuleTableV6Request) -> Self
fn from(value: RuleTableV6Request) -> Self
Converts to this type from the input type.
Source§impl<I: FidlRuleAdminIpExt, IpType> GenericOverIp<IpType> for RuleTableRequest<I>where
IpType: FidlRuleAdminIpExt + Ip,
impl<I: FidlRuleAdminIpExt, IpType> GenericOverIp<IpType> for RuleTableRequest<I>where
IpType: FidlRuleAdminIpExt + Ip,
Source§type Type = RuleTableRequest<IpType>
type Type = RuleTableRequest<IpType>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Auto Trait Implementations§
impl<I> Freeze for RuleTableRequest<I>
impl<I> RefUnwindSafe for RuleTableRequest<I>where
<I as FidlRuleAdminIpExt>::RuleTableControlHandle: RefUnwindSafe,
<I as FidlRuleAdminIpExt>::RuleSetMarker: RefUnwindSafe,
impl<I> Send for RuleTableRequest<I>
impl<I> Sync for RuleTableRequest<I>
impl<I> Unpin for RuleTableRequest<I>where
<I as FidlRuleAdminIpExt>::RuleTableControlHandle: Unpin,
<I as FidlRuleAdminIpExt>::RuleSetMarker: Unpin,
impl<I> UnwindSafe for RuleTableRequest<I>where
<I as FidlRuleAdminIpExt>::RuleTableControlHandle: UnwindSafe,
<I as FidlRuleAdminIpExt>::RuleSetMarker: UnwindSafe,
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.