pub struct PosixSpawnResult {
pub pid: i32,
pub pidfd: Option<i32>,
pub stdin: Option<Fd>,
pub stdout: Option<Fd>,
pub stderr: Option<Fd>,
pub ipc: Option<Fd>,
pub extra_pipes: Vec<ExtraPipe>,
pub memfds: [bool; 3],
pub has_exited: bool,
}Fields§
§pid: i32§pidfd: Option<i32>§stdin: Option<Fd>§stdout: Option<Fd>§stderr: Option<Fd>§ipc: Option<Fd>§extra_pipes: Vec<ExtraPipe>§memfds: [bool; 3]§has_exited: boolImplementations§
Trait Implementations§
Source§impl Default for PosixSpawnResult
impl Default for PosixSpawnResult
Source§fn default() -> PosixSpawnResult
fn default() -> PosixSpawnResult
Returns the “default value” for a type. Read more
Source§impl SpawnResultExt for PosixSpawnResult
Available on Unix only.
impl SpawnResultExt for PosixSpawnResult
Available on Unix only.
fn to_process(self, event_loop: EventLoopHandle, sync_: bool) -> *mut Process
Auto Trait Implementations§
impl Freeze for PosixSpawnResult
impl RefUnwindSafe for PosixSpawnResult
impl Send for PosixSpawnResult
impl Sync for PosixSpawnResult
impl Unpin for PosixSpawnResult
impl UnsafeUnpin for PosixSpawnResult
impl UnwindSafe for PosixSpawnResult
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.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