pub enum MegakernelFrontierExecutionPlanError {
Barrier(MegakernelBarrierPlanError),
ByteCountOverflow {
field: &'static str,
},
GroupOverBudget {
required_bytes: u64,
budget_bytes: u64,
field: &'static str,
},
Memory(MegakernelMemoryError),
StorageReserveFailed {
field: &'static str,
requested: usize,
message: String,
},
}Expand description
Dependency-aware frontier execution planning failure.
Variants§
Barrier(MegakernelBarrierPlanError)
Dependency graph cannot be barrier-planned.
ByteCountOverflow
Peak wave bytes overflowed while grouping a barrier-free phase.
GroupOverBudget
Static graph or fused frontier bytes exceed the caller-approved budget.
Fields
Memory(MegakernelMemoryError)
Topology-validated execution memory planning failed.
StorageReserveFailed
Frontier planning result storage could not be reserved.
Trait Implementations§
Source§impl ArithmeticOverflow for MegakernelFrontierExecutionPlanError
impl ArithmeticOverflow for MegakernelFrontierExecutionPlanError
Source§fn arithmetic_overflow(field: &'static str) -> Self
fn arithmetic_overflow(field: &'static str) -> Self
Build the planner-specific overflow error for
field.Source§impl Clone for MegakernelFrontierExecutionPlanError
impl Clone for MegakernelFrontierExecutionPlanError
Source§fn clone(&self) -> MegakernelFrontierExecutionPlanError
fn clone(&self) -> MegakernelFrontierExecutionPlanError
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 moreimpl Eq for MegakernelFrontierExecutionPlanError
Source§impl Error for MegakernelFrontierExecutionPlanError
impl Error for MegakernelFrontierExecutionPlanError
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 From<MegakernelBarrierPlanError> for MegakernelFrontierExecutionPlanError
impl From<MegakernelBarrierPlanError> for MegakernelFrontierExecutionPlanError
Source§fn from(error: MegakernelBarrierPlanError) -> Self
fn from(error: MegakernelBarrierPlanError) -> Self
Converts to this type from the input type.
Source§impl From<MegakernelFrontierMemoryPlanError> for MegakernelFrontierExecutionPlanError
impl From<MegakernelFrontierMemoryPlanError> for MegakernelFrontierExecutionPlanError
Source§fn from(error: MegakernelFrontierMemoryPlanError) -> Self
fn from(error: MegakernelFrontierMemoryPlanError) -> Self
Converts to this type from the input type.
Source§impl From<MegakernelMemoryError> for MegakernelFrontierExecutionPlanError
impl From<MegakernelMemoryError> for MegakernelFrontierExecutionPlanError
Source§fn from(error: MegakernelMemoryError) -> Self
fn from(error: MegakernelMemoryError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for MegakernelFrontierExecutionPlanError
Auto Trait Implementations§
impl Freeze for MegakernelFrontierExecutionPlanError
impl RefUnwindSafe for MegakernelFrontierExecutionPlanError
impl Send for MegakernelFrontierExecutionPlanError
impl Sync for MegakernelFrontierExecutionPlanError
impl Unpin for MegakernelFrontierExecutionPlanError
impl UnsafeUnpin for MegakernelFrontierExecutionPlanError
impl UnwindSafe for MegakernelFrontierExecutionPlanError
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.