pub enum AndroidError {
AndroidSdkNotFound,
AndroidNdkNotFound,
BuildToolsNotFound,
NoPlatformsFound,
PlatformNotFound(u32),
UnsupportedTarget,
UnsupportedHost(String),
InvalidSemver,
InvalidBuildTarget(String),
FailedToFindAndroidManifest(String),
AndroidManifest(Error),
}Expand description
Android specific error type
Variants§
AndroidSdkNotFound
Android SDK is not found
AndroidNdkNotFound
Android NDK is not found
BuildToolsNotFound
Android SDK has no build tools
NoPlatformsFound
Android SDK has no platforms installed
PlatformNotFound(u32)
Platform {0} is not installed
UnsupportedTarget
Target is not supported
UnsupportedHost(String)
Host {0} is not supported
InvalidSemver
Invalid semver
InvalidBuildTarget(String)
Unsupported or invalid target: {0}
FailedToFindAndroidManifest(String)
Failed to find AndroidManifest.xml in path: {0}
AndroidManifest(Error)
AndroidManifest error
Trait Implementations§
Source§impl Debug for AndroidError
impl Debug for AndroidError
Source§impl Display for AndroidError
impl Display for AndroidError
Source§impl Error for AndroidError
impl Error for AndroidError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AndroidError> for Error
impl From<AndroidError> for Error
Source§fn from(source: AndroidError) -> Self
fn from(source: AndroidError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AndroidError
impl RefUnwindSafe for AndroidError
impl Send for AndroidError
impl Sync for AndroidError
impl Unpin for AndroidError
impl UnwindSafe for AndroidError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more