pub enum Builtin {
Merge,
Commits,
Sync,
}Expand description
The actors Sloop implements internally.
Variants§
Merge
Applies the run branch to the default branch using Sloop’s merge policy. Only ever an action, never a check.
Commits
Passes when Sloop observed at least one new commit on the run branch. Only ever a check.
Sync
Integrates the default branch into the run branch, inside the run worktree. Only ever an action, never a check.
It is the merge builtin’s mirror image: the merge stage moves the default branch and reads the run branch, and this one moves the run branch and only ever reads the default branch. Putting it before the stages that judge the work is what makes those stages judge the tree the merge will actually land.
Trait Implementations§
impl Copy for Builtin
Source§impl<'de> Deserialize<'de> for Builtin
impl<'de> Deserialize<'de> for Builtin
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 Builtin
impl StructuralPartialEq for Builtin
Auto Trait Implementations§
impl Freeze for Builtin
impl RefUnwindSafe for Builtin
impl Send for Builtin
impl Sync for Builtin
impl Unpin for Builtin
impl UnsafeUnpin for Builtin
impl UnwindSafe for Builtin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.