pub struct TeardownReport {Show 19 fields
pub commands: usize,
pub pickers: usize,
pub modes: usize,
pub config_options: usize,
pub events_defined: usize,
pub subscriptions: usize,
pub keymap_bindings: usize,
pub decoration_sources: usize,
pub media_sources: usize,
pub agenda_sources: usize,
pub context_sources: usize,
pub theme_elements: usize,
pub signs: usize,
pub modeline_elements: usize,
pub transient_sources: usize,
pub parser_factories: usize,
pub dashboard_sections: usize,
pub help_topics: usize,
pub languages: usize,
}Expand description
Count of what an unload actually removed, per
surface — for structured logs and test assertions. A field being lower than
the bundle’s recorded token count means those entries were already gone (a
prior unload, or a crash that never completed registration): expected under
idempotent re-unload, not an error.
Fields§
§commands: usize§pickers: usize§modes: usize§config_options: usize§events_defined: usize§subscriptions: usize§keymap_bindings: usize§decoration_sources: usizePL8.E: decoration producers unregistered.
media_sources: usizeIM.6b: media producers unregistered.
agenda_sources: usizeOM.A1: agenda producers unregistered.
context_sources: usizeTC.2: context producers unregistered.
theme_elements: usizeTC.4: theme elements unregistered.
signs: usizeSG.3a: signs undefined.
modeline_elements: usizeOC.3: modeline elements unregistered.
transient_sources: usizeTR.2b: transient menus unregistered.
Filled by the LOADER, like help_topics — see the field’s doc on
PluginTeardown.
parser_factories: usizeCM.6b: compilation parser factories unregistered.
dashboard_sections: usizeCR.4: dashboard sections unregistered. Filled by the loader, for the
same crate-boundary reason as help_topics below.
help_topics: usizeCR.3: :help topics unregistered.
Filled by the LOADER after unload returns, not by unload itself —
the help registry lives in lattice-help, and reversing it here would
pull that crate into the host purely to name a field. The seam crosses
plain data in both directions, so nothing else about help belongs on
this side of the line.
languages: usizeLG.3c: plugin-contributed languages unregistered.
Filled by the LOADER, like help_topics, and for the same reason: the
language registry lives in lattice-syntax. Unlike every other field
here this one can never be skipped for want of a handle — the registry
is process-global, so there is no Option to be None.
Trait Implementations§
Source§impl Clone for TeardownReport
impl Clone for TeardownReport
Source§fn clone(&self) -> TeardownReport
fn clone(&self) -> TeardownReport
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 TeardownReport
impl Debug for TeardownReport
Source§impl Default for TeardownReport
impl Default for TeardownReport
Source§fn default() -> TeardownReport
fn default() -> TeardownReport
impl Eq for TeardownReport
Source§impl PartialEq for TeardownReport
impl PartialEq for TeardownReport
impl StructuralPartialEq for TeardownReport
Auto Trait Implementations§
impl Freeze for TeardownReport
impl RefUnwindSafe for TeardownReport
impl Send for TeardownReport
impl Sync for TeardownReport
impl Unpin for TeardownReport
impl UnsafeUnpin for TeardownReport
impl UnwindSafe for TeardownReport
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