Struct ros2_client::Client
source · [−]pub struct Client<S> { /* private fields */ }
Expand description
Client end of a ROS2 Service
Trait Implementations
sourceimpl<S> ClientT<S> for Client<S> where
S: 'static + Service,
impl<S> ClientT<S> for Client<S> where
S: 'static + Service,
fn send_request(&mut self, request: S::Request) -> Result<RmwRequestId>
fn receive_response(&mut self) -> Result<Option<(RmwRequestId, S::Response)>>
sourceimpl<S> Evented for Client<S> where
S: 'static + Service,
impl<S> Evented for Client<S> where
S: 'static + Service,
sourcefn register(
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
fn register(
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
Register self
with the given Poll
instance. Read more
Auto Trait Implementations
impl<S> !RefUnwindSafe for Client<S>
impl<S> !Send for Client<S>
impl<S> !Sync for Client<S>
impl<S> Unpin for Client<S>
impl<S> !UnwindSafe for Client<S>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more