Skip to main content

capstd_cap

Function capstd_cap 

Source
pub fn capstd_cap(crate_name: &str, type_name: &str) -> Option<&'static str>
Expand description

Map a cap-std capability type to the effect it authorises. Holding one of these (e.g. &Dir) is the real, unforgeable right to perform that effect — so candor treats it as a declared capability, exactly like its own &Fs token.