pub enum MegakernelFrontierMemoryPlanError {
Barrier(MegakernelBarrierPlanError),
ByteCountOverflow {
field: &'static str,
},
GroupOverBudget {
required_bytes: u64,
budget_bytes: u64,
field: &'static str,
},
StorageReserveFailed {
field: &'static str,
requested: usize,
message: String,
},
}Expand description
Frontier memory 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
StorageReserveFailed
Frontier planning result storage could not be reserved.
Trait Implementations§
Source§impl ArithmeticOverflow for MegakernelFrontierMemoryPlanError
impl ArithmeticOverflow for MegakernelFrontierMemoryPlanError
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 MegakernelFrontierMemoryPlanError
impl Clone for MegakernelFrontierMemoryPlanError
Source§fn clone(&self) -> MegakernelFrontierMemoryPlanError
fn clone(&self) -> MegakernelFrontierMemoryPlanError
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 MegakernelFrontierMemoryPlanError
Source§impl Error for MegakernelFrontierMemoryPlanError
impl Error for MegakernelFrontierMemoryPlanError
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 MegakernelFrontierMemoryPlanError
impl From<MegakernelBarrierPlanError> for MegakernelFrontierMemoryPlanError
Source§fn from(error: MegakernelBarrierPlanError) -> Self
fn from(error: MegakernelBarrierPlanError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MegakernelFrontierMemoryPlanError
impl PartialEq for MegakernelFrontierMemoryPlanError
Source§fn eq(&self, other: &MegakernelFrontierMemoryPlanError) -> bool
fn eq(&self, other: &MegakernelFrontierMemoryPlanError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelFrontierMemoryPlanError
Auto Trait Implementations§
impl Freeze for MegakernelFrontierMemoryPlanError
impl RefUnwindSafe for MegakernelFrontierMemoryPlanError
impl Send for MegakernelFrontierMemoryPlanError
impl Sync for MegakernelFrontierMemoryPlanError
impl Unpin for MegakernelFrontierMemoryPlanError
impl UnsafeUnpin for MegakernelFrontierMemoryPlanError
impl UnwindSafe for MegakernelFrontierMemoryPlanError
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.