pub enum DevSourceKind {
Template,
Script,
}Expand description
Kind of a watched dev source.
Templates are reloaded per route (ReloadTemplates); scripts feed the
script watch registry and trigger a full route reload pass so discovery
re-reads the file.
Variants§
Template
Template/proto/include asset owned by a template reload target.
Script
Script file read by a route’s script: step (and friends).
Trait Implementations§
Source§impl Clone for DevSourceKind
impl Clone for DevSourceKind
impl Copy for DevSourceKind
Source§impl Debug for DevSourceKind
impl Debug for DevSourceKind
impl Eq for DevSourceKind
Source§impl Hash for DevSourceKind
impl Hash for DevSourceKind
Source§impl PartialEq for DevSourceKind
impl PartialEq for DevSourceKind
impl StructuralPartialEq for DevSourceKind
Auto Trait Implementations§
impl Forget for DevSourceKind
impl Freeze for DevSourceKind
impl Move for DevSourceKind
impl RefUnwindSafe for DevSourceKind
impl Send for DevSourceKind
impl Sync for DevSourceKind
impl Unpin for DevSourceKind
impl UnsafeUnpin for DevSourceKind
impl UnwindSafe for DevSourceKind
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.