pub struct LinuxSupervisor { /* private fields */ }Expand description
Real PID-1 backend. Uses libc fork/execve/waitpid/kill. Safe to
compile on macOS (same libc surface); running meaningfully requires
being PID 1 in a Linux kernel.
Implementations§
Trait Implementations§
Source§impl Default for LinuxSupervisor
impl Default for LinuxSupervisor
Source§impl Supervisor for LinuxSupervisor
Available on Unix only.
impl Supervisor for LinuxSupervisor
Available on Unix only.
Auto Trait Implementations§
impl Freeze for LinuxSupervisor
impl RefUnwindSafe for LinuxSupervisor
impl Send for LinuxSupervisor
impl Sync for LinuxSupervisor
impl Unpin for LinuxSupervisor
impl UnsafeUnpin for LinuxSupervisor
impl UnwindSafe for LinuxSupervisor
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