pub struct SpeculativeSelectionError { /* private fields */ }Expand description
Fail-closed speculative selection diagnostic.
Implementations§
Trait Implementations§
Source§impl Clone for SpeculativeSelectionError
impl Clone for SpeculativeSelectionError
Source§fn clone(&self) -> SpeculativeSelectionError
fn clone(&self) -> SpeculativeSelectionError
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 SpeculativeSelectionError
impl Debug for SpeculativeSelectionError
Source§impl Display for SpeculativeSelectionError
impl Display for SpeculativeSelectionError
impl Eq for SpeculativeSelectionError
Source§impl Error for SpeculativeSelectionError
impl Error for SpeculativeSelectionError
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<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.
impl StructuralPartialEq for SpeculativeSelectionError
Auto Trait Implementations§
impl Freeze for SpeculativeSelectionError
impl RefUnwindSafe for SpeculativeSelectionError
impl Send for SpeculativeSelectionError
impl Sync for SpeculativeSelectionError
impl Unpin for SpeculativeSelectionError
impl UnsafeUnpin for SpeculativeSelectionError
impl UnwindSafe for SpeculativeSelectionError
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