pub enum ConfigBuildStatus {
Rebuilt,
AlreadyCurrent,
HandBuilt,
BuildFailed(String),
}Expand description
How the source → artifact build went during reload_config — a
:reload-config or a plugins-view rebuild of the init row. Carried in
ReloadConfigReport so the surface (the *messages* echo, the plugins
view row) can say precisely what happened, and on a failure show the
compiler diagnostics rather than a bare “it failed”.
Variants§
Rebuilt
The cargo project was rebuilt from source; the fresh artifact was loaded.
AlreadyCurrent
The source was already current (stamp match); the cached artifact was reloaded — no toolchain ran.
HandBuilt
The init dir holds no cargo project — a hand-built init.wasm was
reloaded as-is (nothing to compile).
BuildFailed(String)
The build failed. A previous artifact (if any) is still loaded, so the editor keeps running the LAST good config — but the edit did NOT take. Carries the compiler diagnostics (the tail of cargo’s stderr).
Trait Implementations§
Source§impl Clone for ConfigBuildStatus
impl Clone for ConfigBuildStatus
Source§fn clone(&self) -> ConfigBuildStatus
fn clone(&self) -> ConfigBuildStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigBuildStatus
impl Debug for ConfigBuildStatus
impl Eq for ConfigBuildStatus
Source§impl PartialEq for ConfigBuildStatus
impl PartialEq for ConfigBuildStatus
impl StructuralPartialEq for ConfigBuildStatus
Auto Trait Implementations§
impl Freeze for ConfigBuildStatus
impl RefUnwindSafe for ConfigBuildStatus
impl Send for ConfigBuildStatus
impl Sync for ConfigBuildStatus
impl Unpin for ConfigBuildStatus
impl UnsafeUnpin for ConfigBuildStatus
impl UnwindSafe for ConfigBuildStatus
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
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
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more