pub struct LaunchedAgent { /* private fields */ }Expand description
A launched agent whose worker socket can be registered before supervision moves to a blocking task.
Implementations§
Source§impl LaunchedAgent
impl LaunchedAgent
pub fn process(&self) -> ProcessIdentity
pub fn worker(&self) -> &WorkerCredentials
pub fn take_worker_listener(&mut self) -> UnixListener
pub fn wait(self, clock: &dyn Clock) -> AgentCompletion
Auto Trait Implementations§
impl !Freeze for LaunchedAgent
impl !RefUnwindSafe for LaunchedAgent
impl !UnwindSafe for LaunchedAgent
impl Send for LaunchedAgent
impl Sync for LaunchedAgent
impl Unpin for LaunchedAgent
impl UnsafeUnpin for LaunchedAgent
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