pub enum ResidentGraphExecutionError {
Declined(ResidentGraphDeclineReason),
IterationLimit {
limit: u32,
completed: u32,
},
CapacityOverflow {
op_id: u32,
required: u64,
capacity: u64,
},
ResourceExhausted {
op_id: u32,
resource: &'static str,
required: u64,
capacity: u64,
},
Runtime(String),
}Expand description
Typed error decoded from the graph’s single terminal receipt.
Variants§
Declined(ResidentGraphDeclineReason)
A complete prelaunch inspection selected the existing GPU route instead.
IterationLimit
The exact configured iteration limit was exhausted.
CapacityOverflow
An operator’s exact output exceeded its reserved row capacity.
ResourceExhausted
A bounded device resource was insufficient.
Runtime(String)
Setup or execution failed before a valid terminal status existed.
Trait Implementations§
Source§impl Clone for ResidentGraphExecutionError
impl Clone for ResidentGraphExecutionError
Source§fn clone(&self) -> ResidentGraphExecutionError
fn clone(&self) -> ResidentGraphExecutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResidentGraphExecutionError
impl Debug for ResidentGraphExecutionError
impl Eq for ResidentGraphExecutionError
Source§impl Error for ResidentGraphExecutionError
impl Error for ResidentGraphExecutionError
1.30.0 · 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()
Source§impl PartialEq for ResidentGraphExecutionError
impl PartialEq for ResidentGraphExecutionError
Source§fn eq(&self, other: &ResidentGraphExecutionError) -> bool
fn eq(&self, other: &ResidentGraphExecutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResidentGraphExecutionError
Auto Trait Implementations§
impl Freeze for ResidentGraphExecutionError
impl RefUnwindSafe for ResidentGraphExecutionError
impl Send for ResidentGraphExecutionError
impl Sync for ResidentGraphExecutionError
impl Unpin for ResidentGraphExecutionError
impl UnsafeUnpin for ResidentGraphExecutionError
impl UnwindSafe for ResidentGraphExecutionError
Blanket Implementations§
impl<T> Allocation for T
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,
§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