Struct PosixSpawnAttr
struct PosixSpawnAttr { ... }
A spawn attributes object. See posix_spawnattr_t.
Implementations
impl PosixSpawnAttr
fn init() -> Result<PosixSpawnAttr>Initialize the spawn attributes object. See posix_spawnattr_init.
fn reinit(self: Self) -> Result<PosixSpawnAttr>Reinitialize the spawn attributes object. This is a wrapper around posix_spawnattr_destroy followed by posix_spawnattr_init.
fn set_flags(self: &mut Self, flags: PosixSpawnFlags) -> Result<()>Set spawn flags. See posix_spawnattr_setflags.
fn flags(self: &Self) -> Result<PosixSpawnFlags>Get spawn flags. See posix_spawnattr_getflags.
fn set_pgroup(self: &mut Self, pgroup: Pid) -> Result<()>Set spawn pgroup. See posix_spawnattr_setpgroup.
fn pgroup(self: &Self) -> Result<Pid>Get spawn pgroup. See posix_spawnattr_getpgroup.
fn set_sigdefault(self: &mut Self, sigdefault: &SigSet) -> Result<()>Set spawn sigdefault. See posix_spawnattr_setsigdefault.
fn sigdefault(self: &Self) -> Result<SigSet>Get spawn sigdefault. See posix_spawnattr_getsigdefault.
fn set_sigmask(self: &mut Self, sigdefault: &SigSet) -> Result<()>Set spawn sigmask. See posix_spawnattr_setsigmask.
fn sigmask(self: &Self) -> Result<SigSet>Get spawn sigmask. See posix_spawnattr_getsigmask.
impl Debug for PosixSpawnAttr
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Drop for PosixSpawnAttr
fn drop(self: &mut Self)
impl Freeze for PosixSpawnAttr
impl RefUnwindSafe for PosixSpawnAttr
impl Send for PosixSpawnAttr
impl Sync for PosixSpawnAttr
impl Unpin for PosixSpawnAttr
impl UnsafeUnpin for PosixSpawnAttr
impl UnwindSafe for PosixSpawnAttr
impl<T> Any for PosixSpawnAttr
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for PosixSpawnAttr
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for PosixSpawnAttr
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for PosixSpawnAttr
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for PosixSpawnAttr
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for PosixSpawnAttr
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for PosixSpawnAttr
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>