pub trait AppExt: Sized {
// Required methods
fn by_name(name: &str, timeout: Duration) -> Result<Self>;
fn by_pid(pid: u32, timeout: Duration) -> Result<Self>;
fn list() -> Result<Vec<Self>>;
}Expand description
Required Methods§
Sourcefn by_name(name: &str, timeout: Duration) -> Result<Self>
fn by_name(name: &str, timeout: Duration) -> Result<Self>
Find an application by exact name using the global singleton
provider, polling until it appears or timeout elapses. Pass
Duration::ZERO for a single attempt with no waiting. See
App::by_name_with for retry semantics.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.