pub struct CreationFlags(/* private fields */);Expand description
Safe, named CreateProcessW creation flags.
Unicode-environment, extended-startup-info, and suspended flags are set internally. There is no raw-bits constructor.
Implementations§
Source§impl CreationFlags
impl CreationFlags
Sourcepub const DETACHED_PROCESS: Self
pub const DETACHED_PROCESS: Self
Creates a process without inheriting a console.
Sourcepub const NEW_CONSOLE: Self
pub const NEW_CONSOLE: Self
Gives the child a new console.
Sourcepub const NEW_PROCESS_GROUP: Self
pub const NEW_PROCESS_GROUP: Self
Makes the child the root of a new process group.
Sourcepub const INHERIT_PARENT_AFFINITY: Self
pub const INHERIT_PARENT_AFFINITY: Self
Inherits the parent’s processor affinity.
Sourcepub const BREAKAWAY_FROM_JOB: Self
pub const BREAKAWAY_FROM_JOB: Self
Allows the child to break away from the caller’s Job when permitted.
Sourcepub const PRESERVE_CODE_AUTHZ_LEVEL: Self
pub const PRESERVE_CODE_AUTHZ_LEVEL: Self
Preserves the caller’s code-authorization level.
Sourcepub const DEFAULT_ERROR_MODE: Self
pub const DEFAULT_ERROR_MODE: Self
Prevents the child from inheriting the caller’s hard-error mode.
Trait Implementations§
Source§impl BitOr for CreationFlags
impl BitOr for CreationFlags
Source§impl BitOrAssign for CreationFlags
impl BitOrAssign for CreationFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for CreationFlags
impl Clone for CreationFlags
Source§fn clone(&self) -> CreationFlags
fn clone(&self) -> CreationFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreationFlags
Source§impl Debug for CreationFlags
impl Debug for CreationFlags
Source§impl Default for CreationFlags
impl Default for CreationFlags
Source§fn default() -> CreationFlags
fn default() -> CreationFlags
Returns the “default value” for a type. Read more
impl Eq for CreationFlags
Source§impl Hash for CreationFlags
impl Hash for CreationFlags
Source§impl PartialEq for CreationFlags
impl PartialEq for CreationFlags
impl StructuralPartialEq for CreationFlags
Auto Trait Implementations§
impl Freeze for CreationFlags
impl RefUnwindSafe for CreationFlags
impl Send for CreationFlags
impl Sync for CreationFlags
impl Unpin for CreationFlags
impl UnsafeUnpin for CreationFlags
impl UnwindSafe for CreationFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more