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§
Source§impl Error for Error
impl Error for Error
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()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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