pub enum SpawnBackend {
PosixSpawn,
Fork,
}Expand description
Explicit process spawning backend.
Variants§
PosixSpawn
Force the use of posix_spawn.
Fork
Force the use of fork/exec.
The fork backend supports explicit SpawnFdPolicy handling before
execve.
Trait Implementations§
Source§impl Clone for SpawnBackend
impl Clone for SpawnBackend
Source§fn clone(&self) -> SpawnBackend
fn clone(&self) -> SpawnBackend
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 SpawnBackend
Source§impl Debug for SpawnBackend
impl Debug for SpawnBackend
impl Eq for SpawnBackend
Source§impl PartialEq for SpawnBackend
impl PartialEq for SpawnBackend
Source§fn eq(&self, other: &SpawnBackend) -> bool
fn eq(&self, other: &SpawnBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpawnBackend
Auto Trait Implementations§
impl Freeze for SpawnBackend
impl RefUnwindSafe for SpawnBackend
impl Send for SpawnBackend
impl Sync for SpawnBackend
impl Unpin for SpawnBackend
impl UnsafeUnpin for SpawnBackend
impl UnwindSafe for SpawnBackend
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