Skip to main content

WiredSeams

Struct WiredSeams 

Source
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: bool

SG.3a: the sign registry.

§modeline: bool

OC.3 / ML.6: the modeline element registry.

§parser_factories: bool

CM.6b: the compilation parser-factory registry.

§help_topics: bool

CR.3: the help-topic registry.

§dashboard_sections: bool

CR.4: the dashboard section registry.

§media_registry: bool

IM.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: bool

OM.A1: the agenda-row producer registry.

§transient_registry: bool

TR.2b: the transient-menu registry.

§multibuffer_registry: bool

MV.1: the multibuffer registry — where a plugin’s declared views land.

§excerpt_source: bool

OA.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: bool

OA.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: bool

OA.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: bool

CD.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§

Source§

impl WiredSeams

Source

pub fn all(&self) -> bool

True when every drain-required service was captured — the boot pin’s assertion. runtime + bus are always present (install clones them from the boot context directly, not via service::<T>()).

Trait Implementations§

Source§

impl Clone for WiredSeams

Source§

fn clone(&self) -> WiredSeams

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for WiredSeams

Source§

impl Debug for WiredSeams

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for WiredSeams

Source§

impl PartialEq for WiredSeams

Source§

fn eq(&self, other: &WiredSeams) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for WiredSeams

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts 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
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Pointee for T

§

type Pointer = u32

§

fn debug( pointer: <T as Pointee>::Pointer, f: &mut Formatter<'_>, ) -> Result<(), Error>

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more