pub enum LinkedRelationTarget {
DirectMachine {
machine_path: &'static [&'static str],
resolved_machine_type_name: fn() -> &'static str,
state: &'static str,
},
DeclaredReferenceType {
resolved_type_name: fn() -> &'static str,
},
AttestedProducerRoute {
via_module_path: &'static str,
route_name: &'static str,
resolved_route_type_name: fn() -> &'static str,
route_id: u64,
},
AttestedRoute {
via_module_path: &'static str,
route_name: &'static str,
resolved_route_type_name: fn() -> &'static str,
route_id: u64,
machine_path: &'static [&'static str],
resolved_machine_type_name: fn() -> &'static str,
state: &'static str,
},
}Expand description
Exact target written into one linked relation record.
Variants§
DirectMachine
A directly visible machine target written in the scanned type syntax.
Fields
DeclaredReferenceType
A nominal reference type that must resolve through one declaration.
Fields
AttestedProducerRoute
One exact producer route carried through a canonical
statum::Attested<_, Route> wrapper or declared through #[via(...)]
without a direct machine target at the consumer site.
Fields
AttestedRoute
An attested route declared through #[via(...)].
Fields
resolved_route_type_name: fn() -> &'static strCompiler-resolved route marker type identity. This is the exact join key across producer registrations and consumer declarations, even when the consumer names a public re-export path.
route_id: u64Stable route id used to join consumer declarations with producer attested transition metadata.
machine_path: &'static [&'static str]Exact target machine path segments carried by the attested inner machine type.
Trait Implementations§
Source§impl Clone for LinkedRelationTarget
impl Clone for LinkedRelationTarget
Source§fn clone(&self) -> LinkedRelationTarget
fn clone(&self) -> LinkedRelationTarget
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more