pub struct FindAndroidStudio;Expand description
This task attempts to locate Android Studio and uses the result to locate the Android SDK and Java home. The Android Studio itself isn’t used, but it’s the easiest way of obtaining a working installation of the SDK, NDK and Java that are all compatible.
Trait Implementations§
Source§impl Task for FindAndroidStudio
impl Task for FindAndroidStudio
Source§type Context = AndroidContext
type Context = AndroidContext
The type of context that is passed to this task, processed and
subsequently returned by this task.
Source§type Error = AndroidError
type Error = AndroidError
The type of error that this task can return.
Source§fn verb(&self) -> &str
fn verb(&self) -> &str
The verb that describes this task (e.g. “Launching” or “Building”) that
is shown to the user while the task is running.
Source§fn message(&self) -> &str
fn message(&self) -> &str
The message that is shown to the user alongside the verb. This usually
starts with a lowercase letter (e.g. “[Generating] source tree”).
Source§fn detail(&self) -> &str
fn detail(&self) -> &str
Optional additional text that is shown to the user alongside the
message. This usually starts with a lowercase letter too (e.g.
Source§fn run(
&self,
context: AndroidContext,
_manager: &mut Manager<'_>,
) -> Result<AndroidContext, AndroidError>
fn run( &self, context: AndroidContext, _manager: &mut Manager<'_>, ) -> Result<AndroidContext, AndroidError>
This function should execute the task.
Auto Trait Implementations§
impl Freeze for FindAndroidStudio
impl RefUnwindSafe for FindAndroidStudio
impl Send for FindAndroidStudio
impl Sync for FindAndroidStudio
impl Unpin for FindAndroidStudio
impl UnwindSafe for FindAndroidStudio
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