Skip to main content

is_root

Function is_root 

Source
pub fn is_root() -> bool
Expand description

True when the process effective uid is 0 (Unix). Non-Unix always returns false.