Skip to main content

encode_clear

Function encode_clear 

Source
pub fn encode_clear(pid: u32, time: u64, token: &str) -> Result<String>
Expand description

Encode a record removal for pid made at time.

A program sends this when the user ends it and it should no longer be resumed. Never send it on SIGHUP, SIGTERM, or terminal loss: that is when the record is needed.