pub struct WlanDeprecatedConfigurationFacade { /* private fields */ }
Implementations§
Source§impl WlanDeprecatedConfigurationFacade
impl WlanDeprecatedConfigurationFacade
Sourcepub fn new() -> Result<WlanDeprecatedConfigurationFacade, Error>
pub fn new() -> Result<WlanDeprecatedConfigurationFacade, Error>
Connects to the DeprecatedConfigurator service and returns a WlanDeprecatedConfigurationFacade instance to enable setting suggested MAC addresses for soft APs.
Sourcepub async fn suggest_access_point_mac_address(
&self,
mac: MacAddress,
) -> Result<(), Error>
pub async fn suggest_access_point_mac_address( &self, mac: MacAddress, ) -> Result<(), Error>
Communicates with the DeprecatedConfigurator service to set a preferred MAC address to be used for new soft APs. This API waits for an acknowledgement from the DeprecatedConfigurator service indicating that the suggested MAC address has been set.
§Arguments
mac
- A MAC address in the form of an eui48::MacAddress.
Sourcepub fn parse_mac_argument(&self, args: Value) -> Result<MacAddress, Error>
pub fn parse_mac_argument(&self, args: Value) -> Result<MacAddress, Error>
Consumes the arguments from an ACTS test, looks for a “mac” key, and attempts to convert the associated value to a MAC address.
§Arguments
args
- A JSON blob represented as a serde_json::Value containing a “mac” key.
Trait Implementations§
Source§impl Facade for WlanDeprecatedConfigurationFacade
impl Facade for WlanDeprecatedConfigurationFacade
Source§fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Asynchronously handle the incoming request for the given method and arguments, returning a
future object representing the pending operation.
Auto Trait Implementations§
impl !Freeze for WlanDeprecatedConfigurationFacade
impl !RefUnwindSafe for WlanDeprecatedConfigurationFacade
impl Send for WlanDeprecatedConfigurationFacade
impl Sync for WlanDeprecatedConfigurationFacade
impl Unpin for WlanDeprecatedConfigurationFacade
impl !UnwindSafe for WlanDeprecatedConfigurationFacade
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> OptionalField for Twhere
T: ?Sized,
impl<T> OptionalField for Twhere
T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.