Struct ros2_client::service::Server
source · [−]pub struct Server<S> { /* private fields */ }
Expand description
Server end of a ROS2 Service
Trait Implementations
sourceimpl<S> Evented for Server<S> where
S: 'static + Service,
impl<S> Evented for Server<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
sourceimpl<S> ServerT<S> for Server<S> where
S: 'static + Service,
impl<S> ServerT<S> for Server<S> where
S: 'static + Service,
fn receive_request(&mut self) -> Result<Option<(RmwRequestId, S::Request)>>
fn send_response(&self, id: RmwRequestId, response: S::Response) -> Result<()>
Auto Trait Implementations
impl<S> !RefUnwindSafe for Server<S>
impl<S> !Send for Server<S>
impl<S> !Sync for Server<S>
impl<S> Unpin for Server<S>
impl<S> !UnwindSafe for Server<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