Skip to main content

Module parent

Module parent 

Source
Expand description

PERF.115-43: #[derive(plexus_macros::Deserialize)]’s runtime, reached through __rt::type_first. NEST-16 · what a graft’s macro reads of its parent’s client.

#[plexus_macros::activation(parent = ShopClient)] infers what each method calls of its parent from the call chains rooted at the injected parent (parent.items(), parent.ui().slots().list()). Which link of a chain is the parent’s method — and which are child accessors before it, or a stream’s own methods after it (.collect()) — is known only to the parent’s client: every generated client answers it through ParentShape, and, where its server half is built, the method’s shape hash through ParentHash.

Traits§

ParentHash
A client’s methods’ shape hashes (NEST-7’s Interface::method_hash), emitted beside its activation’s server half.
ParentShape
A client’s route grammar, for inferring a graft’s needs.