[][src]Struct polyhorn_cli::ios::simctl::Simctl

pub struct Simctl { /* fields omitted */ }

Wrapper around the simctl utility.

Implementations

impl Simctl[src]

pub fn new() -> Simctl[src]

Returns a new instance of the Rust wrapper around the simctl utility.

pub fn list(&mut self) -> Result<DeviceManager<'_>, Error>[src]

Lists all simulator devices that are configured.

pub fn boot(&mut self, identifier: &str) -> Result<(), Error>[src]

Boots a simulator with the given identifier.

pub fn install(
    &mut self,
    identifier: &str,
    path: impl AsRef<Path>
) -> Result<(), Error>
[src]

Installs an application from the given path to the simulator with the given identifier.

pub fn launch(&mut self, identifier: &str, bundle_id: &str) -> Result<(), Error>[src]

Launches an installed application with the given bundle identifier on the simulator with the given identifier.

Trait Implementations

impl Debug for Simctl[src]

Auto Trait Implementations

impl RefUnwindSafe for Simctl

impl Send for Simctl

impl Sync for Simctl

impl Unpin for Simctl

impl UnwindSafe for Simctl

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,