Enum android_tools::error::Error
source · [−]pub enum Error {
AndroidToolNotFound,
AndroidSdkNotFound,
BundletoolNotFound,
UnableToAccessHomeDirectory,
PathNotFound(PathBuf),
CmdNotFound(String),
CmdFailed(String, String),
CompiledResourcesNotFound,
Io(Error),
}
Variants
AndroidToolNotFound
Android SDK or Android NDK is not found. Check the installation path or use crossbundle install command to install it
AndroidSdkNotFound
Android SDK is not found. Check the installation path or use crossbundle install command to install it
BundletoolNotFound
Bundletool is not found. Check the installation path or use crossbundle install command to install it
UnableToAccessHomeDirectory
Unable to access to home directory or home directory doesn’t exists
PathNotFound(PathBuf)
Path {0:?} doesn’t exists
CmdNotFound(String)
Command {0} is not found
CmdFailed(String, String)
Command had a non-zero exit code. Stdout: {0} Stderr: {1}
CompiledResourcesNotFound
Compiled resources is not found
Io(Error)
IO error
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more