pub(crate) enum LaunchableApp {
Android {
package_name: String,
activity_name: String,
device_id: Option<String>,
scheme: Option<String>,
open_deeplink: Option<String>,
},
Ios {
device_id: String,
app_id: String,
scheme: Option<String>,
},
}
Variants§
Implementations§
source§impl LaunchableApp
impl LaunchableApp
fn platform(&self) -> &str
fn exe(&self) -> Result<Command>
fn kill_app(&self) -> Result<bool>
fn unenroll_all(&self, open: &AppOpenArgs) -> Result<bool>
fn reset_app(&self) -> Result<bool>
fn tail_logs(&self) -> Result<bool>
fn capture_logs(&self, file: &PathBuf) -> Result<bool>
fn ios_log_file(&self) -> Result<PathBuf>
fn ios_log_file_command(&self) -> String
fn log_state(&self, open: &AppOpenArgs) -> Result<bool>
fn enroll( &self, params: &NimbusApp, experiment: &ExperimentSource, rollouts: &Vec<ExperimentSource>, branch: &str, preserve_targeting: &bool, preserve_bucketing: &bool, preserve_nimbus_db: &bool, open: &AppOpenArgs, ) -> Result<bool>
fn apply_list( &self, open: &AppOpenArgs, list: &ExperimentListSource, preserve_nimbus_db: &bool, ) -> Result<bool>
fn ios_app_container(&self, container: &str) -> Result<String>
fn ios_reset(&self, data_dir: String, groups_string: String) -> Result<bool>
fn open(&self, open: &AppOpenArgs) -> Result<bool>
fn start_app( &self, app_protocol: StartAppProtocol<'_>, open: &AppOpenArgs, ) -> Result<bool>
fn android_start( &self, app_protocol: StartAppProtocol<'_>, open: &AppOpenArgs, ) -> Result<Command>
fn ios_start( &self, app_protocol: StartAppProtocol<'_>, open: &AppOpenArgs, ) -> Result<Command>
source§impl LaunchableApp
impl LaunchableApp
source§impl LaunchableApp
impl LaunchableApp
pub(crate) fn copy_to_clipboard( &self, app_protocol: &StartAppProtocol<'_>, open: &AppOpenArgs, ) -> Result<usize>
pub(crate) fn longform_url( &self, app_protocol: &StartAppProtocol<'_>, open: &AppOpenArgs, ) -> Result<String>
fn app_opening_deeplink(&self) -> Option<&str>
pub(crate) fn deeplink(&self, open: &AppOpenArgs) -> Result<Option<String>>
fn prepend_scheme(&self, deeplink: &str) -> Result<String>
fn mandatory_scheme(&self) -> Result<&str>
Trait Implementations§
source§impl Clone for LaunchableApp
impl Clone for LaunchableApp
source§fn clone(&self) -> LaunchableApp
fn clone(&self) -> LaunchableApp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LaunchableApp
impl Debug for LaunchableApp
source§impl PartialEq for LaunchableApp
impl PartialEq for LaunchableApp
source§impl TryFrom<&Cli> for LaunchableApp
impl TryFrom<&Cli> for LaunchableApp
impl StructuralPartialEq for LaunchableApp
Auto Trait Implementations§
impl Freeze for LaunchableApp
impl RefUnwindSafe for LaunchableApp
impl Send for LaunchableApp
impl Sync for LaunchableApp
impl Unpin for LaunchableApp
impl UnwindSafe for LaunchableApp
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more