Trait appium_client::commands::settings::HasSettings
source · pub trait HasSettings: AppiumClientTrait {
// Provided methods
fn set_settings<'life0, 'async_trait>(
&'life0 self,
values: Map<String, Value>
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn set_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
value: Value
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn get_settings<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Set or get setting from Settings API (https://appium.io/docs/en/2.1/guides/settings/)