Enum hip_sys::hiprt::hipGraphExecUpdateResult
source · #[non_exhaustive]#[repr(u32)]pub enum hipGraphExecUpdateResult {
hipGraphExecUpdateSuccess,
hipGraphExecUpdateError,
hipGraphExecUpdateErrorTopologyChanged,
hipGraphExecUpdateErrorNodeTypeChanged,
hipGraphExecUpdateErrorFunctionChanged,
hipGraphExecUpdateErrorParametersChanged,
hipGraphExecUpdateErrorNotSupported,
hipGraphExecUpdateErrorUnsupportedFunctionChange,
}Expand description
@brief hipGraphExecUpdateResult @enum
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hipGraphExecUpdateSuccess
< The update succeeded
hipGraphExecUpdateError
< The update failed for an unexpected reason which is described < in the return value of the function
hipGraphExecUpdateErrorTopologyChanged
< The update failed because the topology changed
hipGraphExecUpdateErrorNodeTypeChanged
< The update failed because a node type changed
hipGraphExecUpdateErrorFunctionChanged
hipGraphExecUpdateErrorParametersChanged
hipGraphExecUpdateErrorNotSupported
hipGraphExecUpdateErrorUnsupportedFunctionChange
Trait Implementations§
source§impl Clone for hipGraphExecUpdateResult
impl Clone for hipGraphExecUpdateResult
source§fn clone(&self) -> hipGraphExecUpdateResult
fn clone(&self) -> hipGraphExecUpdateResult
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 hipGraphExecUpdateResult
impl Debug for hipGraphExecUpdateResult
source§impl Hash for hipGraphExecUpdateResult
impl Hash for hipGraphExecUpdateResult
source§impl Ord for hipGraphExecUpdateResult
impl Ord for hipGraphExecUpdateResult
source§fn cmp(&self, other: &hipGraphExecUpdateResult) -> Ordering
fn cmp(&self, other: &hipGraphExecUpdateResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<hipGraphExecUpdateResult> for hipGraphExecUpdateResult
impl PartialEq<hipGraphExecUpdateResult> for hipGraphExecUpdateResult
source§fn eq(&self, other: &hipGraphExecUpdateResult) -> bool
fn eq(&self, other: &hipGraphExecUpdateResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipGraphExecUpdateResult> for hipGraphExecUpdateResult
impl PartialOrd<hipGraphExecUpdateResult> for hipGraphExecUpdateResult
source§fn partial_cmp(&self, other: &hipGraphExecUpdateResult) -> Option<Ordering>
fn partial_cmp(&self, other: &hipGraphExecUpdateResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hipGraphExecUpdateResult
impl Eq for hipGraphExecUpdateResult
impl StructuralEq for hipGraphExecUpdateResult
impl StructuralPartialEq for hipGraphExecUpdateResult
Auto Trait Implementations§
impl RefUnwindSafe for hipGraphExecUpdateResult
impl Send for hipGraphExecUpdateResult
impl Sync for hipGraphExecUpdateResult
impl Unpin for hipGraphExecUpdateResult
impl UnwindSafe for hipGraphExecUpdateResult
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