pub enum ChangeKind {
RustCode,
CargoToml,
Other,
}Expand description
What sort of change happened. The classifier picks the most disruptive category among the paths in a single debounced batch (Cargo.toml beats Rust code beats anything else).
Variants§
RustCode
.rs files inside the watched tree. Tier 2 cold rebuild
today; Tier 1 subsecond patch once I4g lands.
CargoToml
Cargo.toml (or Cargo.lock) — needs a full
cargo build and re-launch; subsecond can’t reload deps.
Other
Anything else (assets, README edits while watching too wide a tree, …). Callers may choose to ignore.
Trait Implementations§
Source§impl Clone for ChangeKind
impl Clone for ChangeKind
Source§fn clone(&self) -> ChangeKind
fn clone(&self) -> ChangeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChangeKind
Source§impl Debug for ChangeKind
impl Debug for ChangeKind
impl Eq for ChangeKind
Source§impl PartialEq for ChangeKind
impl PartialEq for ChangeKind
Source§fn eq(&self, other: &ChangeKind) -> bool
fn eq(&self, other: &ChangeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangeKind
Auto Trait Implementations§
impl Freeze for ChangeKind
impl RefUnwindSafe for ChangeKind
impl Send for ChangeKind
impl Sync for ChangeKind
impl Unpin for ChangeKind
impl UnsafeUnpin for ChangeKind
impl UnwindSafe for ChangeKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.