pub enum RouterAdvertisementOptionWatcherProviderRequest {
NewRouterAdvertisementOptionWatcher {
option_watcher: ServerEnd<OptionWatcherMarker>,
params: RouterAdvertisementOptionWatcherParams,
control_handle: RouterAdvertisementOptionWatcherProviderControlHandle,
},
}
Expand description
Provides watchers for NDP options observed via router advertisements.
§Privacy note
This protocol provides access to the raw bytes of NDP options, which can contain privileged information such as the hardware addresses of the user’s host device or other devices on the network. Thus, care should be taken with where this protocol is made available.
Variants§
NewRouterAdvertisementOptionWatcher
Constructs a new watcher that yields NDP options received from router advertisement messages as described in RFC 4861 section 4.2.
Fields
§
option_watcher: ServerEnd<OptionWatcherMarker>
§
control_handle: RouterAdvertisementOptionWatcherProviderControlHandle
Implementations§
Source§impl RouterAdvertisementOptionWatcherProviderRequest
impl RouterAdvertisementOptionWatcherProviderRequest
pub fn into_new_router_advertisement_option_watcher( self, ) -> Option<(ServerEnd<OptionWatcherMarker>, RouterAdvertisementOptionWatcherParams, RouterAdvertisementOptionWatcherProviderControlHandle)>
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 RouterAdvertisementOptionWatcherProviderRequest
impl !RefUnwindSafe for RouterAdvertisementOptionWatcherProviderRequest
impl Send for RouterAdvertisementOptionWatcherProviderRequest
impl Sync for RouterAdvertisementOptionWatcherProviderRequest
impl Unpin for RouterAdvertisementOptionWatcherProviderRequest
impl !UnwindSafe for RouterAdvertisementOptionWatcherProviderRequest
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