pub enum SpeculativeError {
SpeculationFailed(String),
RollbackFailed(String),
InvalidPrediction(String),
CheckpointNotFound(String),
}Expand description
Speculative execution errors.
Variants§
SpeculationFailed(String)
RollbackFailed(String)
InvalidPrediction(String)
CheckpointNotFound(String)
Trait Implementations§
Source§impl Clone for SpeculativeError
impl Clone for SpeculativeError
Source§fn clone(&self) -> SpeculativeError
fn clone(&self) -> SpeculativeError
Returns a duplicate of the value. Read more
1.0.0 · 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 SpeculativeError
impl Debug for SpeculativeError
Source§impl Display for SpeculativeError
impl Display for SpeculativeError
Source§impl Error for SpeculativeError
impl Error for SpeculativeError
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 SpeculativeError
impl PartialEq for SpeculativeError
impl StructuralPartialEq for SpeculativeError
Auto Trait Implementations§
impl Freeze for SpeculativeError
impl RefUnwindSafe for SpeculativeError
impl Send for SpeculativeError
impl Sync for SpeculativeError
impl Unpin for SpeculativeError
impl UnwindSafe for SpeculativeError
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