pub trait Driver {
type Handle: Debug;
// Required methods
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 str,
opts: Options,
) -> Pin<Box<dyn Future<Output = Result<Self::Handle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn wait<'life0, 'life1, 'async_trait>(
&'life0 self,
handle: &'life1 mut Self::Handle,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn exit<'life0, 'async_trait>(
&'life0 self,
handle: Self::Handle,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Driver
trait for speculos providers
Required Associated Types§
Required Methods§
Sourcefn run<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 str,
opts: Options,
) -> Pin<Box<dyn Future<Output = Result<Self::Handle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 str,
opts: Options,
) -> Pin<Box<dyn Future<Output = Result<Self::Handle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Run speculos with the specified app and options
Implementors§
Source§impl Driver for GenericDriver
Driver implementation for GenericDriver, calls out to LocalDriver or
DockerDriver depending on configuration.
impl Driver for GenericDriver
Driver implementation for GenericDriver, calls out to LocalDriver or DockerDriver depending on configuration.
type Handle = GenericHandle
Source§impl Driver for DockerDriver
Driver implementation for DockerDriver
impl Driver for DockerDriver
Driver implementation for DockerDriver
type Handle = DockerHandle
Source§impl Driver for LocalDriver
Driver implementation for LocalDriver
impl Driver for LocalDriver
Driver implementation for LocalDriver