Struct ros2_client::service::cyclone::CycloneServiceMapping
source · [−]pub struct CycloneServiceMapping<S> { /* private fields */ }Trait Implementations
sourceimpl<S> ServiceMapping<S> for CycloneServiceMapping<S> where
S: Service,
S::Request: Clone,
impl<S> ServiceMapping<S> for CycloneServiceMapping<S> where
S: Service,
S::Request: Clone,
type RequestWrapper = CycloneWrapper<S::Request>
type ResponseWrapper = CycloneWrapper<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 = CycloneClientState
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 CycloneServiceMapping<S> where
S: RefUnwindSafe,
impl<S> Send for CycloneServiceMapping<S> where
S: Send,
impl<S> Sync for CycloneServiceMapping<S> where
S: Sync,
impl<S> Unpin for CycloneServiceMapping<S> where
S: Unpin,
impl<S> UnwindSafe for CycloneServiceMapping<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