Skip to main content

consumed_service_seam_decls

Function consumed_service_seam_decls 

Source
pub fn consumed_service_seam_decls(
    unit_tables: &HashMap<String, UnitTable>,
    consumed: &[String],
    aliases: &HashMap<String, String>,
) -> BTreeMap<String, CapabilityDecl>
Expand description

#3892: a consumed context’s services as seams, one synthetic capability per context named by what the target calls it (its alias, else its last path segment, the key its surface double sits under in the test deps), with one operation per service: the parameters and return type of its on call handler. Observation (expect Pay.authorise called …), with and trace read them as they read a capability’s.