[][src]Enum polyhorn_cli::android::tasks::AndroidError

pub enum AndroidError {
    UnsupportedHostOS(&'static str),
    CompilationFailure,
    AndroidStudioNotFound(PathBuf),
    JavaNotFound(PathBuf),
    AndroidSDKNotFound(PathBuf),
    AndroidNDKNotFound(PathBuf),
    IO(Error),
}

Represents an error that is returned by one of the Android-specific tasks.

Variants

UnsupportedHostOS(&'static str)

Returned by tasks that have not yet been implemented for a specific host operating system.

CompilationFailure

Returned by the BuildRuntimeLibrary task when Cargo fails to build the runtime library (most likely because of an error in user code, e.g. syntax error).

AndroidStudioNotFound(PathBuf)

Returned when platform-specific logic for locating Android Studio is implemented, but couldn't find it at the expected path (which is given as an argument).

JavaNotFound(PathBuf)

Returned when platform-specific logic for locating Java is implemented, but couldn't find it at the expected path (which is given as an argument).

AndroidSDKNotFound(PathBuf)

Returned when platform-specific logic for locating Android SDK is implemented, but couldn't find it at the expected path (which is given as an argument).

AndroidNDKNotFound(PathBuf)

Returned when platform-specific logic for locating Android NDK is implemented, but couldn't find it at the expected path (which is given as an argument).

IO(Error)

Returned by tasks when an io error occurs.

Trait Implementations

impl Debug for AndroidError[src]

impl From<Error> for AndroidError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,