Skip to main content

support_hedge

Function support_hedge 

Source
pub fn support_hedge(metadata: &AdapterMetadata) -> Option<String>
Expand description

The one-line stderr hedge for an adapter that is not Proven, or None when it is (SP4 design §7.2).

It lists every capability whose state is not Supported, in Capability::ALL order, using the report’s own vocabulary. NotGuaranteed counts: leaving it out would have hidden the state the design predicts for an adapter whose documented mechanism is ignored by part of the agent.