pub enum StateV4Request {
GetWatcherV4 {
watcher: ServerEnd<WatcherV4Marker>,
options: WatcherOptionsV4,
control_handle: StateV4ControlHandle,
},
GetRuleWatcherV4 {
watcher: ServerEnd<RuleWatcherV4Marker>,
options: RuleWatcherOptionsV4,
control_handle: StateV4ControlHandle,
},
}
Expand description
Provides observability to the system’s IPv4 routing state.
Variants§
GetWatcherV4
Initialize a watcher for IPv4 routing state.
- request ‘watcher’ grants access to the
WatcherV4
Protocol. - request
watch_options
specifies the behavior of theWatcherV4
.
Fields
§
watcher: ServerEnd<WatcherV4Marker>
§
options: WatcherOptionsV4
§
control_handle: StateV4ControlHandle
GetRuleWatcherV4
Initialize a watcher for IPv4 rules state.
- request ‘watcher’ grants access to the
RuleWatcherV4
Protocol. - request
watch_options
specifies the behavior of theRuleWatcherV4
.
Fields
§
watcher: ServerEnd<RuleWatcherV4Marker>
§
options: RuleWatcherOptionsV4
§
control_handle: StateV4ControlHandle
Implementations§
Source§impl StateV4Request
impl StateV4Request
pub fn into_get_watcher_v4( self, ) -> Option<(ServerEnd<WatcherV4Marker>, WatcherOptionsV4, StateV4ControlHandle)>
pub fn into_get_rule_watcher_v4( self, ) -> Option<(ServerEnd<RuleWatcherV4Marker>, RuleWatcherOptionsV4, StateV4ControlHandle)>
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 StateV4Request
impl !RefUnwindSafe for StateV4Request
impl Send for StateV4Request
impl Sync for StateV4Request
impl Unpin for StateV4Request
impl !UnwindSafe for StateV4Request
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