pub enum RuleWatcherV6Request {
Watch {
responder: RuleWatcherV6WatchResponder,
},
}
Expand description
An observer protocol for changes in the system’s IPv6 rules table.
Variants§
Watch
Hanging-Get style API for observing routing rule changes.
Clients must only have one pending Watch
call at a time. Calling
Watch
while a request is already pending will cause the protocol to
close.
The first N events will always be existing
where N is the number of
IPv6 rules that already existed when the server-end of the protocol was
initialized. The following event will be idle
signaling the end of the
existing
events. At this point the client has watched all existing
state and will never again observe an existing
event.
- response
events
A vector of at mostMAX_EVENTS
events.
Fields
§
responder: RuleWatcherV6WatchResponder
Implementations§
Source§impl RuleWatcherV6Request
impl RuleWatcherV6Request
pub fn into_watch(self) -> Option<RuleWatcherV6WatchResponder>
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 RuleWatcherV6Request
impl !RefUnwindSafe for RuleWatcherV6Request
impl Send for RuleWatcherV6Request
impl Sync for RuleWatcherV6Request
impl Unpin for RuleWatcherV6Request
impl !UnwindSafe for RuleWatcherV6Request
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