Function extism_pdk::var::remove

source ·
pub fn remove(key: impl AsRef<str>) -> Result<(), Error>
Expand description

Removes a variable from the plug-in. This variable normally lives as long as the plug-in is loaded.

§Arguments

  • key - A unique string key to identify the variable

§Examples

var::remove("my_var")?;