Struct zenoh_protocol::proto::ReplyContext [−][src]
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** (eval or storage id) is represented as a byte-array.
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
|X|X|F| R_CTX |
+-+-+-+---------+
~ qid ~
+---------------+
~ source_kind ~
+---------------+
~ replier_id ~ if F==0
+---------------+
- if F==1 then the message is a REPLY_FINAL
Fields
is_final: bool
qid: ZInt
source_kind: ZInt
replier_id: Option<PeerId>
Implementations
impl ReplyContext
[src]
Trait Implementations
impl Clone for ReplyContext
[src]
fn clone(&self) -> ReplyContext
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReplyContext
[src]
impl PartialEq<ReplyContext> for ReplyContext
[src]
fn eq(&self, other: &ReplyContext) -> bool
[src]
fn ne(&self, other: &ReplyContext) -> bool
[src]
impl StructuralPartialEq for ReplyContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReplyContext
[src]
impl Send for ReplyContext
[src]
impl Sync for ReplyContext
[src]
impl Unpin for ReplyContext
[src]
impl UnwindSafe for ReplyContext
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,