[−][src]Enum zenoh_protocol::proto::Declaration
Variants
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| RESOURCE| +---------------+ ~ RID ~ +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
@Olivier, the idea would be to be able to declare a resource using an ID to avoid sending the prefix. If we do this however, we open the door to receiving declaration that may try to redefine an Id... Which BTW may not be so bad, as we could use this instead as the rebind. Thoughts?
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |X|X|X| F_RES | +---------------+ ~ RID ~ +---------------+
Fields of ForgetResource
rid: ZInt
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| PUB | +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
Fields of Publisher
key: ResKey
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| F_PUB | +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
Fields of ForgetPublisher
key: ResKey
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|S|R| SUB | R for Reliable +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+ |P| SubMode | if S==1. Otherwise: SubMode=Push +---------------+ ~ Period ~ if P==1. Otherwise: None +---------------+
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| F_SUB | +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
Fields of ForgetSubscriber
key: ResKey
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| QABLE | +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
Fields of Queryable
key: ResKey
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|X| F_QABLE | +---------------+ ~ ResKey ~ if K==1 then only numerical id +---------------+
Fields of ForgetQueryable
key: ResKey
Trait Implementations
impl Clone for Declaration
[src]
fn clone(&self) -> Declaration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Declaration
[src]
impl PartialEq<Declaration> for Declaration
[src]
fn eq(&self, other: &Declaration) -> bool
[src]
fn ne(&self, other: &Declaration) -> bool
[src]
impl StructuralPartialEq for Declaration
[src]
Auto Trait Implementations
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
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,
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.
fn to_owned(&self) -> T
[src]
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.
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.
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>,