Skip to main content

guard

Function guard 

Source
pub(crate) fn guard(
    req: &OpenLinkRequest,
    who: &CallerFacts,
    pane_tab: impl Fn(&str) -> Option<String>,
) -> Result<(ParsedLink, String, Option<String>), Refusal>
Expand description

Everything srv checks, in order, on req from who: the parsed link srv lets through, its target, and a note.