Struct ros2_client::service::ClientGeneric
source · [−]pub struct ClientGeneric<S, SW> where
S: Service,
SW: ServiceMapping<S>, { /* private fields */ }Trait Implementations
sourceimpl<S, SW> ClientT<S> for ClientGeneric<S, SW> where
S: 'static + Service,
SW: 'static + ServiceMapping<S>,
impl<S, SW> ClientT<S> for ClientGeneric<S, SW> where
S: 'static + Service,
SW: 'static + ServiceMapping<S>,
fn send_request(&mut self, request: S::Request) -> Result<RmwRequestId>
fn receive_response(&mut self) -> Result<Option<(RmwRequestId, S::Response)>> where
<S as Service>::Response: 'static,
sourceimpl<S, SW> Evented for ClientGeneric<S, SW> where
S: 'static + Service,
SW: 'static + ServiceMapping<S>,
impl<S, SW> Evented for ClientGeneric<S, SW> where
S: 'static + Service,
SW: 'static + ServiceMapping<S>,
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, SW> !RefUnwindSafe for ClientGeneric<S, SW>
impl<S, SW> Send for ClientGeneric<S, SW> where
SW: Send,
<SW as ServiceMapping<S>>::ClientState: Send,
<SW as ServiceMapping<S>>::RequestWrapper: Send,
<SW as ServiceMapping<S>>::ResponseWrapper: Send,
impl<S, SW> !Sync for ClientGeneric<S, SW>
impl<S, SW> Unpin for ClientGeneric<S, SW> where
SW: Unpin,
<SW as ServiceMapping<S>>::ClientState: Unpin,
<SW as ServiceMapping<S>>::RequestWrapper: Unpin,
<SW as ServiceMapping<S>>::ResponseWrapper: Unpin,
impl<S, SW> !UnwindSafe for ClientGeneric<S, SW>
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