pub struct ServiceClient<S: RosService> {
pub name: &'static str,
/* private fields */
}Expand description
Service client handle
Sends requests and receives responses for a ROS 2 service.
Fields§
§name: &'static strService name (e.g., “/add_two_ints”)
Implementations§
Source§impl<S: RosService> ServiceClient<S>
impl<S: RosService> ServiceClient<S>
Auto Trait Implementations§
impl<S> Freeze for ServiceClient<S>
impl<S> RefUnwindSafe for ServiceClient<S>where
S: RefUnwindSafe,
impl<S> Send for ServiceClient<S>where
S: Send,
impl<S> Sync for ServiceClient<S>where
S: Sync,
impl<S> Unpin for ServiceClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for ServiceClient<S>
impl<S> UnwindSafe for ServiceClient<S>where
S: UnwindSafe,
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