Skip to main content

allowed

Function allowed 

Source
pub fn allowed(
    ask: Ask,
    p: &Pending,
    mode: &Mode,
    can_push: bool,
) -> (Ask, Option<String>)
Expand description

Implementing is impossible here whatever the agents agreed, so say so once rather than discovering it at the push.

Returns the reason alongside the downgraded verdict, because a reply that says “this is right and I did not do it” is only useful with the because.