pub enum Portable {
Own,
Path,
Anywhere,
}Expand description
Which saves of a target’s warm state, besides its own worktree’s, may be restored.
Variants§
Own
None: portable: false, the default.
Path
The remote’s, when made in a worktree at the same path, and so this
worktree’s own on another machine: portable: "path". For state that
records where it was made, which CI runners checking out in one
place can share and other checkouts cannot use.
Anywhere
Any other worktree’s and the remote’s: portable: true.
Trait Implementations§
impl Copy for Portable
impl Eq for Portable
impl StructuralPartialEq for Portable
Auto Trait Implementations§
impl Freeze for Portable
impl RefUnwindSafe for Portable
impl Send for Portable
impl Sync for Portable
impl Unpin for Portable
impl UnsafeUnpin for Portable
impl UnwindSafe for Portable
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,
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.