pub enum StateV6Request {
GetWatcherV6 {
watcher: ServerEnd<WatcherV6Marker>,
options: WatcherOptionsV6,
control_handle: StateV6ControlHandle,
},
GetRuleWatcherV6 {
watcher: ServerEnd<RuleWatcherV6Marker>,
options: RuleWatcherOptionsV6,
control_handle: StateV6ControlHandle,
},
}
Expand description
Provides observability to the system’s IPv6 routing state.
Variants§
GetWatcherV6
Initialize a watcher for IPv6 routing state.
- request ‘watcher’ grants access to the
WatcherV6
Protocol. - request
watch_options
specifies the behavior of theWatcherV6
.
Fields
§
watcher: ServerEnd<WatcherV6Marker>
§
options: WatcherOptionsV6
§
control_handle: StateV6ControlHandle
GetRuleWatcherV6
Initialize a watcher for IPv6 rules state.
- request ‘watcher’ grants access to the
RuleWatcherV6
Protocol. - request
watch_options
specifies the behavior of theRuleWatcherV6
.
Fields
§
watcher: ServerEnd<RuleWatcherV6Marker>
§
options: RuleWatcherOptionsV6
§
control_handle: StateV6ControlHandle
Implementations§
Source§impl StateV6Request
impl StateV6Request
pub fn into_get_watcher_v6( self, ) -> Option<(ServerEnd<WatcherV6Marker>, WatcherOptionsV6, StateV6ControlHandle)>
pub fn into_get_rule_watcher_v6( self, ) -> Option<(ServerEnd<RuleWatcherV6Marker>, RuleWatcherOptionsV6, StateV6ControlHandle)>
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 StateV6Request
impl !RefUnwindSafe for StateV6Request
impl Send for StateV6Request
impl Sync for StateV6Request
impl Unpin for StateV6Request
impl !UnwindSafe for StateV6Request
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