pub struct LaneGraphSpRuntime { /* private fields */ }Expand description
Handle for a spawned LaneGraph SP runtime.
Implementations§
Source§impl LaneGraphSpRuntime
impl LaneGraphSpRuntime
Sourcepub fn role_activity_snapshot(&self) -> Vec<LaneGraphRoleActivitySnapshot>
pub fn role_activity_snapshot(&self) -> Vec<LaneGraphRoleActivitySnapshot>
Snapshot per-role runtime activity for operator-facing monitoring.
Sourcepub fn wait_until_idle(&self, timeout: Duration) -> Result<(), ExecError>
pub fn wait_until_idle(&self, timeout: Duration) -> Result<(), ExecError>
Wait until all roles are idle and no new progress is observed for a short settle window.
Sourcepub fn request_stop(&self)
pub fn request_stop(&self)
Request a cooperative stop.
Sourcepub fn stop_and_join(self) -> Result<(), ExecError>
pub fn stop_and_join(self) -> Result<(), ExecError>
Request stop and join all role threads.
Auto Trait Implementations§
impl Freeze for LaneGraphSpRuntime
impl !RefUnwindSafe for LaneGraphSpRuntime
impl Send for LaneGraphSpRuntime
impl Sync for LaneGraphSpRuntime
impl Unpin for LaneGraphSpRuntime
impl !UnwindSafe for LaneGraphSpRuntime
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