#[non_exhaustive]pub enum GraphUpdateError {
Rejected {
result: GraphExecUpdateResult,
error_node: Option<GraphNode>,
error_from_node: Option<GraphNode>,
},
Cuda(Error),
}Expand description
Failure of ExecutableGraph::update.
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.
Rejected
CUDA did not perform the update because it violates the constraints of executable graph updates.
Fields
§
result: GraphExecUpdateResultCUDA’s classification of the failure.
Cuda(Error)
A context mismatch or another CUDA failure.
Trait Implementations§
Source§impl Debug for GraphUpdateError
impl Debug for GraphUpdateError
Source§impl Display for GraphUpdateError
impl Display for GraphUpdateError
Source§impl Error for GraphUpdateError
impl Error for GraphUpdateError
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 GraphUpdateError
impl !Send for GraphUpdateError
impl !Sync for GraphUpdateError
impl !UnwindSafe for GraphUpdateError
impl Forget for GraphUpdateError
impl Freeze for GraphUpdateError
impl Move for GraphUpdateError
impl Unpin for GraphUpdateError
impl UnsafeUnpin for GraphUpdateError
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