pub struct ScriptManager;Implementations§
Source§impl ScriptManager
impl ScriptManager
Sourcepub fn ensure_tap_script_with_session(session: &mut DeviceSession) -> Result<()>
pub fn ensure_tap_script_with_session(session: &mut DeviceSession) -> Result<()>
Ensure tap script is present on device (using DeviceSession)
Sourcepub fn ensure_swipe_script_with_session(
session: &mut DeviceSession,
) -> Result<()>
pub fn ensure_swipe_script_with_session( session: &mut DeviceSession, ) -> Result<()>
Ensure swipe script is present on device (using DeviceSession)
pub fn ensure_tap_script(session: &mut Handle<SshClient>) -> Result<()>
👎Deprecated since 0.1.0: Use ensure_tap_script_with_session instead
pub fn ensure_swipe_script(session: &mut Handle<SshClient>) -> Result<()>
👎Deprecated since 0.1.0: Use ensure_swipe_script_with_session instead
pub fn tap_script_path() -> &'static str
pub fn swipe_script_path() -> &'static str
Sourcepub const fn tap_script_content() -> &'static str
pub const fn tap_script_content() -> &'static str
Get tap script content
Sourcepub const fn swipe_script_content() -> &'static str
pub const fn swipe_script_content() -> &'static str
Get swipe script content
Auto Trait Implementations§
impl Freeze for ScriptManager
impl RefUnwindSafe for ScriptManager
impl Send for ScriptManager
impl Sync for ScriptManager
impl Unpin for ScriptManager
impl UnwindSafe for ScriptManager
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