pub struct ReloadOutcome {
pub summary: String,
pub had_warnings: bool,
pub details: Vec<String>,
pub had_errors: bool,
}Expand description
The outcome of a reload: a human-readable status line for the transcript (counts of what reloaded), and whether any load diagnostics appeared.
Fields§
§summary: StringOne-line summary for the transcript note (e.g. “Reloaded 2 plugin(s), 5 skill(s), 1 prompt(s).”).
had_warnings: boolTrue iff at least one extension load warning fired (ABI mismatch / skip).
details: Vec<String>Formatted diagnostic lines (package / skill / prompt-template warnings)
that the caller should surface in its UI. Kept out of eprintln!
because the TUI owns the terminal: direct stderr writes during a run
would corrupt the alternate-screen input row.
had_errors: boolTrue iff the reload itself failed hard (e.g. the extension build or settings reload errored) and the previous resources were kept. Soft diagnostics (skill shadowing, name validation) do not set this.
Auto Trait Implementations§
impl Freeze for ReloadOutcome
impl RefUnwindSafe for ReloadOutcome
impl Send for ReloadOutcome
impl Sync for ReloadOutcome
impl Unpin for ReloadOutcome
impl UnsafeUnpin for ReloadOutcome
impl UnwindSafe for ReloadOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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