pub enum RuleWatcherRequest<I: FidlRuleIpExt> {
Watch {
responder: I::RuleWatcherWatchResponder,
},
}
Expand description
The request for the rules watchers.
Variants§
Watch
Hanging-Get style API for observing routing rule changes.
Fields
§
responder: I::RuleWatcherWatchResponder
Responder for the events.
Trait Implementations§
Source§impl From<RuleWatcherV4Request> for RuleWatcherRequest<Ipv4>
impl From<RuleWatcherV4Request> for RuleWatcherRequest<Ipv4>
Source§fn from(req: RuleWatcherV4Request) -> Self
fn from(req: RuleWatcherV4Request) -> Self
Converts to this type from the input type.
Source§impl From<RuleWatcherV6Request> for RuleWatcherRequest<Ipv6>
impl From<RuleWatcherV6Request> for RuleWatcherRequest<Ipv6>
Source§fn from(req: RuleWatcherV6Request) -> Self
fn from(req: RuleWatcherV6Request) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<I> Freeze for RuleWatcherRequest<I>
impl<I> RefUnwindSafe for RuleWatcherRequest<I>
impl<I> Send for RuleWatcherRequest<I>
impl<I> Sync for RuleWatcherRequest<I>
impl<I> Unpin for RuleWatcherRequest<I>
impl<I> UnwindSafe for RuleWatcherRequest<I>
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.