Enum ptx_builder::error::BuildErrorKind
source · pub enum BuildErrorKind {
CommandNotFound {
command: String,
hint: String,
},
CommandFailed {
command: String,
code: i32,
stderr: String,
},
CommandVersionNotFulfilled {
command: String,
current: Version,
required: VersionReq,
hint: String,
},
InvalidCratePath(PathBuf),
BuildFailed(Vec<String>),
InvalidCrateType(String),
MissingCrateType,
InternalError(String),
OtherError,
}
Variants§
CommandNotFound
CommandFailed
CommandVersionNotFulfilled
InvalidCratePath(PathBuf)
BuildFailed(Vec<String>)
InvalidCrateType(String)
MissingCrateType
InternalError(String)
OtherError
Trait Implementations§
source§impl Clone for BuildErrorKind
impl Clone for BuildErrorKind
source§fn clone(&self) -> BuildErrorKind
fn clone(&self) -> BuildErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BuildErrorKind
impl Debug for BuildErrorKind
source§impl Display for BuildErrorKind
impl Display for BuildErrorKind
source§impl Error for BuildErrorKind
impl Error for BuildErrorKind
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BuildErrorKind> for Error
impl From<BuildErrorKind> for Error
source§fn from(context: BuildErrorKind) -> Self
fn from(context: BuildErrorKind) -> Self
Converts to this type from the input type.
source§impl PartialEq for BuildErrorKind
impl PartialEq for BuildErrorKind
source§fn eq(&self, other: &BuildErrorKind) -> bool
fn eq(&self, other: &BuildErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BuildErrorKind
impl StructuralPartialEq for BuildErrorKind
Auto Trait Implementations§
impl Freeze for BuildErrorKind
impl RefUnwindSafe for BuildErrorKind
impl Send for BuildErrorKind
impl Sync for BuildErrorKind
impl Unpin for BuildErrorKind
impl UnwindSafe for BuildErrorKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.