pub struct SyncPair {
pub child_ready: OwnedFd,
pub parent_done: OwnedFd,
}Expand description
Eventfd-based parent-child synchronization.
Used when NotifyMode::Disabled — the child signals readiness via eventfd
after completing setup, and the parent writes back to let it proceed to exec.
Fields§
§child_ready: OwnedFd§parent_done: OwnedFdImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncPair
impl RefUnwindSafe for SyncPair
impl Send for SyncPair
impl Sync for SyncPair
impl Unpin for SyncPair
impl UnsafeUnpin for SyncPair
impl UnwindSafe for SyncPair
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