Struct zenoh_protocol::proto::ReplierInfo
source · pub struct ReplierInfo {
pub id: ZenohId,
}Expand description
ReplyContext decorator
The **ReplyContext** is a message decorator for either:
- the **Data** messages that result from a query
- or a **Unit** message in case the message is a
SOURCE_FINAL or REPLY_FINAL.
The **replier-id** (queryable id) is represented as a byte-array.
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
|X|X|F| R_CTX |
+-+-+-+---------+
~ qid ~
+---------------+
~ replier_id ~ if F==0
+---------------+
- if F==1 then the message is a REPLY_FINAL
Fields§
§id: ZenohIdTrait Implementations§
source§impl Clone for ReplierInfo
impl Clone for ReplierInfo
source§fn clone(&self) -> ReplierInfo
fn clone(&self) -> ReplierInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ReplierInfo
impl Debug for ReplierInfo
source§impl PartialEq<ReplierInfo> for ReplierInfo
impl PartialEq<ReplierInfo> for ReplierInfo
source§fn eq(&self, other: &ReplierInfo) -> bool
fn eq(&self, other: &ReplierInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.