Struct zenoh_protocol::network::declare::Declare
source · pub struct Declare {
pub ext_qos: QoSType,
pub ext_tstamp: Option<TimestampType>,
pub ext_nodeid: NodeIdType,
pub body: DeclareBody,
}Expand description
Flags:
- X: Reserved
- X: Reserved
- Z: Extension If Z==1 then at least one extension is present
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |Z|X|X| DECLARE | +-+-+-+———+ ~ [decl_exts] ~ if Z==1 +—————+ ~ declaration ~ +—————+
Fields§
§ext_qos: QoSType§ext_tstamp: Option<TimestampType>§ext_nodeid: NodeIdType§body: DeclareBodyTrait Implementations§
source§impl From<Declare> for NetworkMessage
impl From<Declare> for NetworkMessage
source§impl PartialEq for Declare
impl PartialEq for Declare
impl Eq for Declare
impl StructuralPartialEq for Declare
Auto Trait Implementations§
impl Freeze for Declare
impl RefUnwindSafe for Declare
impl Send for Declare
impl Sync for Declare
impl Unpin for Declare
impl UnwindSafe for Declare
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