pub enum BuildOutcome {
BuiltClean,
CompilationFailed {
class: Option<ResolverClass>,
},
ApplyConflicted,
TestRegressed,
}Expand description
What the build did once the pick landed. Only CompilationFailed carries
a class: an apply conflict and a test regression are not symbol-class
breaks. The class is the symbol that actually broke, which the
consumer reads from the build error, not from the verdict.
Variants§
Implementations§
Source§impl BuildOutcome
impl BuildOutcome
pub fn is_break(self) -> bool
Sourcepub fn break_class(self) -> Option<ResolverClass>
pub fn break_class(self) -> Option<ResolverClass>
The symbol class the break fell in, for a compile failure that named one.
Trait Implementations§
Source§impl Clone for BuildOutcome
impl Clone for BuildOutcome
impl Copy for BuildOutcome
Source§impl Debug for BuildOutcome
impl Debug for BuildOutcome
Source§impl<'de> Deserialize<'de> for BuildOutcome
impl<'de> Deserialize<'de> for BuildOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BuildOutcome
Source§impl PartialEq for BuildOutcome
impl PartialEq for BuildOutcome
Source§impl Serialize for BuildOutcome
impl Serialize for BuildOutcome
impl StructuralPartialEq for BuildOutcome
Auto Trait Implementations§
impl Freeze for BuildOutcome
impl RefUnwindSafe for BuildOutcome
impl Send for BuildOutcome
impl Sync for BuildOutcome
impl Unpin for BuildOutcome
impl UnsafeUnpin for BuildOutcome
impl UnwindSafe for BuildOutcome
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