pub enum CodeServerOrigin {
New(Box<Child>),
Existing(u32),
}
Variants§
New(Box<Child>)
A new code server, that opens the barrier when it exits.
Existing(u32)
An existing code server with a PID.
Implementations§
Source§impl CodeServerOrigin
impl CodeServerOrigin
pub async fn wait_for_exit(&mut self)
pub async fn kill(&mut self)
Auto Trait Implementations§
impl Freeze for CodeServerOrigin
impl !RefUnwindSafe for CodeServerOrigin
impl Send for CodeServerOrigin
impl Sync for CodeServerOrigin
impl Unpin for CodeServerOrigin
impl !UnwindSafe for CodeServerOrigin
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