pub enum StateRequest {
GetWatcher {
options: WatcherOptions,
request: ServerEnd<WatcherMarker>,
control_handle: StateControlHandle,
},
}
Expand description
Provides view-only access to the system’s packet filtering state.
Variants§
GetWatcher
Initialize a watcher for filtering state.
Implementations§
Source§impl StateRequest
impl StateRequest
pub fn into_get_watcher( self, ) -> Option<(WatcherOptions, ServerEnd<WatcherMarker>, StateControlHandle)>
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 StateRequest
impl !RefUnwindSafe for StateRequest
impl Send for StateRequest
impl Sync for StateRequest
impl Unpin for StateRequest
impl !UnwindSafe for StateRequest
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