Trait appium_client::commands::rotation::SupportsRotation
source · pub trait SupportsRotation: AppiumClientTrait {
// Provided methods
fn orientation<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Orientation, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn set_orientation<'life0, 'async_trait>(
&'life0 self,
orientation: Orientation
) -> Pin<Box<dyn Future<Output = Result<Orientation, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn rotation<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DeviceRotation, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn set_rotation<'life0, 'async_trait>(
&'life0 self,
rotation: DeviceRotation
) -> Pin<Box<dyn Future<Output = Result<DeviceRotation, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Get or set orientation and rotation of device