pub enum StackProviderRequest {
SetWlanNetworkConfigProvider {
provider: ClientEnd<WlanNetworkConfigProviderMarker>,
control_handle: StackProviderControlHandle,
},
}
Expand description
Services Provided to WeaveStack by other components.
Variants§
SetWlanNetworkConfigProvider
Registers a WLAN network configuration provider with WeaveStack. Only one provider can be set at a time.
Attempts to set a new provider while there is an active provider will close the channel to active provider and will be replaced by the new provider.
TODO(https://fxbug.dev/42140705): This interface may be deprecated when current WLAN network configuration can be shared amongst multiple components.
Fields
§
provider: ClientEnd<WlanNetworkConfigProviderMarker>
§
control_handle: StackProviderControlHandle
Implementations§
Source§impl StackProviderRequest
impl StackProviderRequest
pub fn into_set_wlan_network_config_provider( self, ) -> Option<(ClientEnd<WlanNetworkConfigProviderMarker>, StackProviderControlHandle)>
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 StackProviderRequest
impl !RefUnwindSafe for StackProviderRequest
impl Send for StackProviderRequest
impl Sync for StackProviderRequest
impl Unpin for StackProviderRequest
impl !UnwindSafe for StackProviderRequest
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