Struct ros2_client::service::basic::BasicServiceMapping
source · [−]pub struct BasicServiceMapping<S> { /* private fields */ }
Trait Implementations
sourceimpl<S> ServiceMapping<S> for BasicServiceMapping<S> where
S: Service,
S::Request: Clone,
impl<S> ServiceMapping<S> for BasicServiceMapping<S> where
S: Service,
S::Request: Clone,
type RequestWrapper = BasicRequestWrapper<S::Request>
type ResponseWrapper = BasicResponseWrapper<S::Response>
fn unwrap_request(
wrapped: &Self::RequestWrapper,
_sample_info: &SampleInfo
) -> (RmwRequestId, S::Request)
fn wrap_response(
r_id: RmwRequestId,
response: S::Response
) -> (Self::ResponseWrapper, Option<SampleIdentity>)
type ClientState = BasicClientState
fn wrap_request(
state: &mut Self::ClientState,
request: S::Request
) -> (Self::RequestWrapper, Option<RmwRequestId>)
fn request_id_after_wrap(
state: &mut Self::ClientState,
_write_result: SampleIdentity
) -> RmwRequestId
fn unwrap_response(
_state: &mut Self::ClientState,
wrapped: Self::ResponseWrapper,
_sample_info: SampleInfo
) -> (RmwRequestId, S::Response)
fn new_client_state(request_sender: GUID) -> Self::ClientState
Auto Trait Implementations
impl<S> RefUnwindSafe for BasicServiceMapping<S> where
S: RefUnwindSafe,
impl<S> Send for BasicServiceMapping<S> where
S: Send,
impl<S> Sync for BasicServiceMapping<S> where
S: Sync,
impl<S> Unpin for BasicServiceMapping<S> where
S: Unpin,
impl<S> UnwindSafe for BasicServiceMapping<S> where
S: UnwindSafe,
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