pub struct ROS3Executor { /* private fields */ }Expand description
ROS3 unified executor
Implementations§
Source§impl ROS3Executor
impl ROS3Executor
Sourcepub fn spawn_rt<F>(&self, priority: Priority, deadline: Deadline, task: F)
pub fn spawn_rt<F>(&self, priority: Priority, deadline: Deadline, task: F)
Spawn a real-time task with priority and deadline
Sourcepub fn spawn_high<F>(&self, task: F)
pub fn spawn_high<F>(&self, task: F)
Spawn a high-priority task
Sourcepub fn spawn_blocking<F, R>(&self, f: F) -> JoinHandle<R>
pub fn spawn_blocking<F, R>(&self, f: F) -> JoinHandle<R>
Spawn CPU-bound blocking work
Sourcepub fn high_priority_runtime(&self) -> &Runtime
pub fn high_priority_runtime(&self) -> &Runtime
Get a handle to the high-priority runtime
Sourcepub fn low_priority_runtime(&self) -> &Runtime
pub fn low_priority_runtime(&self) -> &Runtime
Get a handle to the low-priority runtime
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ROS3Executor
impl !RefUnwindSafe for ROS3Executor
impl Send for ROS3Executor
impl Sync for ROS3Executor
impl Unpin for ROS3Executor
impl !UnwindSafe for ROS3Executor
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