Function dpdk_unix::assert_effective_user_id_is_root[][src]

pub fn assert_effective_user_id_is_root(necessity: &str)

Asserts that the effective user id (uid) is root.

Takes a necessity to explain why the user must be root.