#[repr(i32)]pub enum SkipTestResult {
CyclicTypeFunction = 0,
Irreducible = 1,
Stuck = 2,
Generic = 3,
Defer = 4,
Okay = 5,
}Variants§
CyclicTypeFunction = 0
If a type function is cyclic, it cannot be reduced, but maybe we can make a guess and offer a suggested annotation to the user.
Irreducible = 1
Indicase that we will not be able to reduce this type function this time. Constraint resolution may cause this type function to become reducible later.
Stuck = 2
A type function that cannot be reduced any further because it has no valid reduction. eg add<number, string>
Generic = 3
Some type functions can operate on generic parameters
Defer = 4
We might be able to reduce this type function, but not yet.
Okay = 5
We can attempt to reduce this type function right now.
Implementations§
Trait Implementations§
Source§impl Clone for SkipTestResult
impl Clone for SkipTestResult
Source§fn clone(&self) -> SkipTestResult
fn clone(&self) -> SkipTestResult
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 Copy for SkipTestResult
Source§impl Debug for SkipTestResult
impl Debug for SkipTestResult
Source§impl Default for SkipTestResult
impl Default for SkipTestResult
impl Eq for SkipTestResult
Source§impl Hash for SkipTestResult
impl Hash for SkipTestResult
Source§impl PartialEq for SkipTestResult
impl PartialEq for SkipTestResult
Source§fn eq(&self, other: &SkipTestResult) -> bool
fn eq(&self, other: &SkipTestResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkipTestResult
Auto Trait Implementations§
impl Freeze for SkipTestResult
impl RefUnwindSafe for SkipTestResult
impl Send for SkipTestResult
impl Sync for SkipTestResult
impl Unpin for SkipTestResult
impl UnsafeUnpin for SkipTestResult
impl UnwindSafe for SkipTestResult
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