referrerpolicy=no-referrer-when-downgrade

enable_for_worker

Function enable_for_worker 

Source
pub fn enable_for_worker(worker_info: &WorkerInfo) -> Result<()>
Expand description

Try to enable for the given kind of worker.

NOTE: This should not be called in a multi-threaded context. unshare(2): “CLONE_NEWUSER requires that the calling process is not threaded.”