Skip to main content

preset

Function preset 

Source
pub fn preset(name: &str) -> Option<CapabilitySet>
Expand description

Resolve a role preset name to its capability set (spec §6).

Presets are a non-contract convenience mapping — they may change freely and are not part of the frozen wire contract. Returns None for an unknown name so the caller can surface a clear error.