pub trait ExecExt {
// Required methods
fn setuid(self, uid: u32) -> Self;
fn setgid(self, gid: u32) -> Self;
}Expand description
Trait allowing for custom implementations of setuid and setgid behaviors on Unix
which handle file system permissions (owner or group respectively).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.