Struct zenoh_protocol::zenoh::ext::SourceInfoType
source · pub struct SourceInfoType<const ID: u8> {
pub zid: ZenohId,
pub eid: u32,
pub sn: u32,
}Expand description
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |zid_len|X|X|X|X| +—––+-+-+—+ ~ zid ~ +—————+ % eid % – Counter decided by the Zenoh Node +—————+ % sn % +—————+
Fields§
§zid: ZenohId§eid: u32§sn: u32Trait Implementations§
source§impl<const ID: u8> Clone for SourceInfoType<ID>
impl<const ID: u8> Clone for SourceInfoType<ID>
source§fn clone(&self) -> SourceInfoType<ID>
fn clone(&self) -> SourceInfoType<ID>
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<const ID: u8> Debug for SourceInfoType<ID>
impl<const ID: u8> Debug for SourceInfoType<ID>
source§impl<const ID: u8> PartialEq for SourceInfoType<ID>
impl<const ID: u8> PartialEq for SourceInfoType<ID>
source§fn eq(&self, other: &SourceInfoType<ID>) -> bool
fn eq(&self, other: &SourceInfoType<ID>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<const ID: u8> Eq for SourceInfoType<ID>
impl<const ID: u8> StructuralPartialEq for SourceInfoType<ID>
Auto Trait Implementations§
impl<const ID: u8> Freeze for SourceInfoType<ID>
impl<const ID: u8> RefUnwindSafe for SourceInfoType<ID>
impl<const ID: u8> Send for SourceInfoType<ID>
impl<const ID: u8> Sync for SourceInfoType<ID>
impl<const ID: u8> Unpin for SourceInfoType<ID>
impl<const ID: u8> UnwindSafe for SourceInfoType<ID>
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