#[repr(C)]pub struct rmw_request_id_t {
pub writer_guid: [i8; 16],
pub sequence_number: i64,
}Expand description
Identity of one service request — upstream rmw_request_id_t, field for
field.
sequence_number is the number the CLIENT assigned to the request, which
together with writer_guid makes the pair unique across clients. It is not
the backend’s reply-correlation token (take_request_with_info’s
seq_out), and the two need not agree.
Fields§
§writer_guid: [i8; 16]The requesting client’s identity. All zero = not reported.
sequence_number: i64The client-assigned sequence number of this request.
Trait Implementations§
Source§impl Clone for rmw_request_id_t
impl Clone for rmw_request_id_t
Source§fn clone(&self) -> rmw_request_id_t
fn clone(&self) -> rmw_request_id_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rmw_request_id_t
Auto Trait Implementations§
impl Freeze for rmw_request_id_t
impl RefUnwindSafe for rmw_request_id_t
impl Send for rmw_request_id_t
impl Sync for rmw_request_id_t
impl Unpin for rmw_request_id_t
impl UnsafeUnpin for rmw_request_id_t
impl UnwindSafe for rmw_request_id_t
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