pub enum SpeculativePreparationError<E> {
Lifecycle(SpeculativeOutputError),
Selection(SpeculativeSelectionError),
Payload(E),
Modules(E),
State(E),
Queues(E),
Transfer(E),
}Expand description
Failure after or during the preconstruction selection gate.
Variants§
Lifecycle(SpeculativeOutputError)
Explicit lifecycle observation rejected work before the named boundary.
Selection(SpeculativeSelectionError)
Neutral selection rejected before any construction callback.
Payload(E)
Checkpoint payload construction failed.
Modules(E)
Architecture module construction failed.
State(E)
Prediction or assistant state construction failed.
Queues(E)
Target/draft queue construction failed.
Transfer(E)
Cross-device transfer construction failed.
Trait Implementations§
Source§impl<E: Debug> Debug for SpeculativePreparationError<E>
impl<E: Debug> Debug for SpeculativePreparationError<E>
Source§impl<E> Display for SpeculativePreparationError<E>
impl<E> Display for SpeculativePreparationError<E>
Source§impl<E> Error for SpeculativePreparationError<E>
impl<E> Error for SpeculativePreparationError<E>
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<E> From<SpeculativeOutputError> for SpeculativePreparationError<E>
impl<E> From<SpeculativeOutputError> for SpeculativePreparationError<E>
Source§fn from(source: SpeculativeOutputError) -> Self
fn from(source: SpeculativeOutputError) -> Self
Converts to this type from the input type.
Source§impl<E> From<SpeculativeSelectionError> for SpeculativePreparationError<E>
impl<E> From<SpeculativeSelectionError> for SpeculativePreparationError<E>
Source§fn from(source: SpeculativeSelectionError) -> Self
fn from(source: SpeculativeSelectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for SpeculativePreparationError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SpeculativePreparationError<E>where
E: RefUnwindSafe,
impl<E> Send for SpeculativePreparationError<E>where
E: Send,
impl<E> Sync for SpeculativePreparationError<E>where
E: Sync,
impl<E> Unpin for SpeculativePreparationError<E>where
E: Unpin,
impl<E> UnsafeUnpin for SpeculativePreparationError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for SpeculativePreparationError<E>where
E: UnwindSafe,
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