pub struct WiredSeams {Show 24 fields
pub runtime: bool,
pub bus: bool,
pub picker_registry: bool,
pub config_registry: bool,
pub command_registry: bool,
pub mode_registry: bool,
pub keymap: bool,
pub meta_sink: bool,
pub decoration_registry: bool,
pub context_registry: bool,
pub theme_registry: bool,
pub sign_registry: bool,
pub modeline: bool,
pub parser_factories: bool,
pub help_topics: bool,
pub dashboard_sections: bool,
pub media_registry: bool,
pub agenda_registry: bool,
pub transient_registry: bool,
pub multibuffer_registry: bool,
pub excerpt_source: bool,
pub view_args: bool,
pub view_decoration_epoch: bool,
pub buffer_store: bool,
}Expand description
Which drain-required services the loader captured at [install] time —
reported by PluginLoader::wired_seams. Every flag must be true after a
real editor boot; a false is a boot-ordering regression (the loader was
installed before that service registered) that silently degrades the
dependent seam’s drain to a NotWired skip.
Fields§
§runtime: bool§bus: bool§picker_registry: bool§config_registry: bool§command_registry: bool§mode_registry: bool§keymap: bool§meta_sink: bool§decoration_registry: bool§context_registry: bool§theme_registry: bool§sign_registry: boolSG.3a: the sign registry.
modeline: boolOC.3 / ML.6: the modeline element registry.
parser_factories: boolCM.6b: the compilation parser-factory registry.
help_topics: boolCR.3: the help-topic registry.
dashboard_sections: boolCR.4: the dashboard section registry.
media_registry: boolIM.6b: the inline-media producer registry.
Added at OM.A1 alongside agenda_registry. It was missing — media
drained through a service this struct never reported on, so a boot
ordering regression there would have degraded drain_media to a
NotWired skip with nothing asserting otherwise. Adding the sibling
and leaving this one silent would be aligned-by-silence.
agenda_registry: boolOM.A1: the agenda-row producer registry.
transient_registry: boolTR.2b: the transient-menu registry.
multibuffer_registry: boolMV.1: the multibuffer registry — where a plugin’s declared views land.
excerpt_source: boolOA.23 / HB.2b: whether the HOST carries an excerpt-source resolver.
Not a service capture like its neighbours: install builds the resolver
over the multibuffer registry and hands it to the host, so the thing to
assert is what the host holds. Reported because the failure is invisible
otherwise — an unwired seam answers none, which is also its answer for
“this line is not composed”, so a guest standing on an agenda row cannot
tell a boot-ordering regression from an ordinary miss.
view_args: boolOA.27: whether the HOST carries a view-args resolver.
Reported for excerpt_source’s reason, and the invisibility is worse
here: an unwired seam answers an EMPTY LIST, which a guest parses as a
view showing nothing in particular — so every chord that walks a view
silently restarts from the default span, day and filter set, with no
error on any path. That is the bug the seam replaces; a boot-ordering
regression would reinstate it unnoticed.
view_decoration_epoch: boolOA.30: whether the HOST carries the decoration-refresh counter.
Reported for view_args’ reason and it fails the same silent way: a
guest producer whose state changed can say so, nobody is listening, and
the gutter simply never updates.
buffer_store: boolCD.6b: whether the HOST carries the buffer store clamp-position reads.
Unwired, every buffer reads as closed, so a capture’s write-back into its caller is skipped with a message blaming a buffer that is open.
Implementations§
Trait Implementations§
Source§impl Clone for WiredSeams
impl Clone for WiredSeams
Source§fn clone(&self) -> WiredSeams
fn clone(&self) -> WiredSeams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for WiredSeams
Source§impl Debug for WiredSeams
impl Debug for WiredSeams
impl Eq for WiredSeams
Source§impl PartialEq for WiredSeams
impl PartialEq for WiredSeams
impl StructuralPartialEq for WiredSeams
Auto Trait Implementations§
impl Freeze for WiredSeams
impl RefUnwindSafe for WiredSeams
impl Send for WiredSeams
impl Sync for WiredSeams
impl Unpin for WiredSeams
impl UnsafeUnpin for WiredSeams
impl UnwindSafe for WiredSeams
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