Skip to main content

drop

Function drop 

Source
pub fn drop(ctx: &Ctx<'_>, kind: &str, resource: Option<&str>) -> Result<()>
Expand description

Give up resource under kind (or the whole kind) for good: Node’s process.permission.drop. Nothing when no container is installed.

§Errors

A kind, rule or name that does not parse, thrown as a TypeError.