Enum crossbundle_lib::error::Error
source · [−]pub enum Error {
Show 14 variants
CantFindTargetToRun,
TeamIdentifierNotProvided,
InvalidMetadata(Error),
Io(Error),
Clap(Error),
AnyhowError(Error),
CrossbundleTools(Error),
AndroidManifest(Error),
FsExtra(Error),
PathNotFound(PathBuf),
HomeDirNotFound,
DownloadFailed(Error),
JarFileCreationFailed {
path: PathBuf,
cause: Error,
},
CopyToFileFailed {
path: PathBuf,
cause: Error,
},
}Variants
CantFindTargetToRun
Can’t find target to run
TeamIdentifierNotProvided
Team identifier not provided
InvalidMetadata(Error)
Invalid metadata in manifest: {0:?}
Io(Error)
IO error: {0:?}
Clap(Error)
Clap error: {0:?}
AnyhowError(Error)
Anyhow error: {0:?}
CrossbundleTools(Error)
Crossbundle Tools error: {0:?}
AndroidManifest(Error)
AndroidManifest error: {0:?}
FsExtra(Error)
FsExtra error: {0:?}
PathNotFound(PathBuf)
Path {0:?} doesn’t exist
HomeDirNotFound
Home dir not found
DownloadFailed(Error)
Failed to download jar file: {0:?}
JarFileCreationFailed
Failed to create jar file in specified path {path} cause of {cause}
CopyToFileFailed
Failed to copy file in specified path {path} cause of {cause}
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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