pub fn request_stop(dir: &Path) -> Result<(), CodecError>
Writes STOP_REQUESTED in dir.
STOP_REQUESTED
dir
Returns CodecError::Io on filesystem failure.
CodecError::Io