pub struct WorkerThread { /* private fields */ }Implementations§
Source§impl WorkerThread
impl WorkerThread
pub fn spawn_service( service_name: impl Into<String>, handler: ServiceHandler, endpoint: impl Into<String>, ) -> Result<Self>
pub fn spawn_action( action_name: impl Into<String>, handler: ActionGoalHandler, endpoint: impl Into<String>, ) -> Result<Self>
pub fn stop(self)
Auto Trait Implementations§
impl !RefUnwindSafe for WorkerThread
impl !UnwindSafe for WorkerThread
impl Freeze for WorkerThread
impl Send for WorkerThread
impl Sync for WorkerThread
impl Unpin for WorkerThread
impl UnsafeUnpin for WorkerThread
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