pub(crate) enum SyncMode<'a> {
Automatic {
expected: Expectation<'a>,
},
Regenerate,
}Expand description
Controls how a maintained proposal branch may be refreshed.
Variants§
Automatic
Refresh only when the pull request marker names the branch head.
Fields
§
expected: Expectation<'a>Regenerate
Recreate the proposal from the authoritative branch, deliberately replacing any existing proposal edits.
Trait Implementations§
impl<'a> Copy for SyncMode<'a>
impl<'a> Eq for SyncMode<'a>
impl<'a> StructuralPartialEq for SyncMode<'a>
Auto Trait Implementations§
impl<'a> Freeze for SyncMode<'a>
impl<'a> RefUnwindSafe for SyncMode<'a>
impl<'a> Send for SyncMode<'a>
impl<'a> Sync for SyncMode<'a>
impl<'a> Unpin for SyncMode<'a>
impl<'a> UnsafeUnpin for SyncMode<'a>
impl<'a> UnwindSafe for SyncMode<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.