pub enum Touched {
All,
Servers(Vec<String>),
Project(PathBuf),
}Expand description
What a store change touched. Its instant apply plans and writes only those targets (#15), so an unrelated project waiting for trust, or a drifted file elsewhere, neither slows the change nor shows in its result.
Variants§
All
Anything (client preferences, settings, secrets): every target.
Servers(Vec<String>)
These store servers (added, edited, enabled for other clients,
removed): the targets PlanOptions::servers selects.
Project(PathBuf)
The known project at this folder (trusted, initialized): its targets only.
Implementations§
Trait Implementations§
impl Eq for Touched
impl StructuralPartialEq for Touched
Auto Trait Implementations§
impl Forget for Touched
impl Freeze for Touched
impl Move for Touched
impl RefUnwindSafe for Touched
impl Send for Touchedwhere
RawVecInner: Send,
impl Sync for Touchedwhere
RawVecInner: Sync,
impl Unpin for Touched
impl UnsafeUnpin for Touchedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Touchedwhere
RawVecInner: UnwindSafe,
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.