pub enum Stdio {
Path(Box<[u8]>),
Inherit,
Ignore,
Buffer,
Ipc,
Pipe(Fd),
Dup2(Dup2),
}Variants§
Implementations§
Source§impl PosixStdio
impl PosixStdio
pub fn inherit() -> PosixStdio
pub fn ignore() -> PosixStdio
pub fn buffer() -> PosixStdio
Auto Trait Implementations§
impl Freeze for PosixStdio
impl RefUnwindSafe for PosixStdio
impl Send for PosixStdio
impl Sync for PosixStdio
impl Unpin for PosixStdio
impl UnsafeUnpin for PosixStdio
impl UnwindSafe for PosixStdio
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 /
RefPtr::init_ref 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 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