pub struct Request<Req> {
pub data: Req,
pub id: SampleIdentity,
pub writer: Guid,
}Expand description
A request taken by a Replier.
Fields§
§data: ReqThe request.
id: SampleIdentityWhat the reply names: the request’s writer and sequence number, or the reader the request named (as a ROS 2 client names its reply reader) with the request’s sequence number.
writer: GuidThe writer of the request.
Trait Implementations§
impl<Req: PartialEq> StructuralPartialEq for Request<Req>
Auto Trait Implementations§
impl<Req> Forget for Request<Req>
impl<Req> Freeze for Request<Req>where
Req: Freeze,
impl<Req> Move for Request<Req>
impl<Req> RefUnwindSafe for Request<Req>where
Req: RefUnwindSafe,
impl<Req> Send for Request<Req>where
Req: Send,
impl<Req> Sync for Request<Req>where
Req: Sync,
impl<Req> Unpin for Request<Req>where
Req: Unpin,
impl<Req> UnsafeUnpin for Request<Req>where
Req: UnsafeUnpin,
impl<Req> UnwindSafe for Request<Req>where
Req: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more