pub enum BuildError {
Show 28 variants
Environment {
name: &'static str,
source: VarError,
},
UnsupportedTargetOs {
cargo_cfg_target_os: String,
},
AndroidNdkRootNotConfigured {
target_triple: String,
source: VarError,
},
AndroidNdkRootMissing {
path: PathBuf,
},
AndroidNdkToolchainFileMissing {
path: PathBuf,
},
AndroidNdkToolchainDirectoryMissing {
path: PathBuf,
},
AndroidNdkUnsupportedHostPlatform,
UnsupportedAndroidTarget {
cargo_cfg_target_arch: String,
},
AndroidPlatformUnreadable {
source: VarError,
},
AndroidNdkClangDirectoryUnreadable {
path: PathBuf,
source: Error,
},
AndroidNdkClangVersionDirectoryMissing {
path: PathBuf,
},
AndroidNdkClangVersionDirectoryAmbiguous {
path: PathBuf,
candidates: Vec<PathBuf>,
},
AndroidNdkClangBuiltinIncludesMissing {
path: PathBuf,
},
Bindgen(BindgenError),
PrivatizedFieldMissing {
type_name: &'static str,
field_name: &'static str,
},
BindingsWrite(Error),
NativeWrapper(Error),
Filesystem {
path: PathBuf,
source: Error,
},
EnvironmentDirectory {
name: &'static str,
path: PathBuf,
},
DirectiveWrite(Error),
CmakeFileApiReplyDirectoryUnreadable {
path: PathBuf,
source: Error,
},
CmakeFileApiReplyIndexMissing {
path: PathBuf,
},
CmakeFileApiReplyFileUnreadable {
path: PathBuf,
source: Error,
},
CmakeFileApiReplyFileInvalid {
path: PathBuf,
source: Error,
},
CmakeCacheEntryMissing {
name: String,
},
CmakeCacheEntryNotASwitch {
name: String,
value: String,
},
OpenmpRuntimeUnlinkableOnApple {
libraries: Vec<PathBuf>,
},
OpenmpRuntimeLibraryWithoutFileName {
library: PathBuf,
},
}Variants§
Environment
UnsupportedTargetOs
AndroidNdkRootNotConfigured
AndroidNdkRootMissing
AndroidNdkToolchainFileMissing
AndroidNdkToolchainDirectoryMissing
AndroidNdkUnsupportedHostPlatform
UnsupportedAndroidTarget
AndroidPlatformUnreadable
AndroidNdkClangDirectoryUnreadable
AndroidNdkClangVersionDirectoryMissing
AndroidNdkClangVersionDirectoryAmbiguous
AndroidNdkClangBuiltinIncludesMissing
Bindgen(BindgenError)
PrivatizedFieldMissing
BindingsWrite(Error)
NativeWrapper(Error)
Filesystem
EnvironmentDirectory
DirectiveWrite(Error)
CmakeFileApiReplyDirectoryUnreadable
CmakeFileApiReplyIndexMissing
CmakeFileApiReplyFileUnreadable
CmakeFileApiReplyFileInvalid
CmakeCacheEntryMissing
CmakeCacheEntryNotASwitch
OpenmpRuntimeUnlinkableOnApple
OpenmpRuntimeLibraryWithoutFileName
Trait Implementations§
Source§impl Debug for BuildError
impl Debug for BuildError
Source§impl Display for BuildError
impl Display for BuildError
Source§impl Error for BuildError
impl Error for BuildError
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 !RefUnwindSafe for BuildError
impl !UnwindSafe for BuildError
impl Forget for BuildError
impl Freeze for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnsafeUnpin for BuildError
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