pub enum LaunchFusionError {
DuplicateStage {
id: u32,
},
ZeroBudget,
ByteCountOverflow {
field: &'static str,
},
StageOverBudget {
id: u32,
required_bytes: u64,
budget_bytes: u64,
},
StorageReserveFailed {
field: &'static str,
requested: usize,
message: String,
},
}Expand description
Launch fusion planning errors.
Variants§
DuplicateStage
Duplicate stage id.
ZeroBudget
Explicit fusion budget cannot be zero.
ByteCountOverflow
Byte arithmetic overflowed.
StageOverBudget
One stage cannot fit the explicit fusion budget even without fusion.
Fields
StorageReserveFailed
Planner storage could not be reserved.
Trait Implementations§
Source§impl Clone for LaunchFusionError
impl Clone for LaunchFusionError
Source§fn clone(&self) -> LaunchFusionError
fn clone(&self) -> LaunchFusionError
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 LaunchFusionError
impl Debug for LaunchFusionError
Source§impl Display for LaunchFusionError
impl Display for LaunchFusionError
impl Eq for LaunchFusionError
Source§impl Error for LaunchFusionError
impl Error for LaunchFusionError
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 LaunchFusionError
impl PartialEq for LaunchFusionError
Source§fn eq(&self, other: &LaunchFusionError) -> bool
fn eq(&self, other: &LaunchFusionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaunchFusionError
Auto Trait Implementations§
impl Freeze for LaunchFusionError
impl RefUnwindSafe for LaunchFusionError
impl Send for LaunchFusionError
impl Sync for LaunchFusionError
impl Unpin for LaunchFusionError
impl UnsafeUnpin for LaunchFusionError
impl UnwindSafe for LaunchFusionError
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.