Enum android_tools::error::Error
source · [−]pub enum Error {
AndroidToolIsNotFound,
AndroidSdkIsNotFound,
BundletoolIsNotFound,
HomeDirectoryUnableToAccess,
PathIsNotFound(PathBuf),
CmdIsNotFound(String),
CmdFailed(String, String),
CompiledResourcesIsNotFound,
Io(Error),
}
Variants
AndroidToolIsNotFound
Android SDK or Android NDK is not found. Check the installation path or use crossbundle install command to install it
AndroidSdkIsNotFound
Android SDK is not found. Check the installation path or use crossbundle install command to install it
BundletoolIsNotFound
Bundletool is not found. Check the installation path or use crossbundle install command to install it
HomeDirectoryUnableToAccess
Unable to access to home directory or home directory doesn’t exists
PathIsNotFound(PathBuf)
Path {0:?} doesn’t exists
CmdIsNotFound(String)
Command {0} is not found
CmdFailed(String, String)
Command had a non-zero exit code. Stdout: {0} Stderr: {1}
CompiledResourcesIsNotFound
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