Struct zenoh_protocol::zenoh::ext::ValueType
source · pub struct ValueType<const VID: u8, const SID: u8> {
pub encoding: Encoding,
pub payload: ZBuf,
}Expand description
7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ ~ encoding ~ +—————+ ~ pl: [u8;z32] ~ – Payload +—————+
Fields§
§encoding: Encoding§payload: ZBufImplementations§
Trait Implementations§
source§impl<const VID: u8, const SID: u8> PartialEq for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> PartialEq for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> Eq for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> StructuralPartialEq for ValueType<VID, SID>
Auto Trait Implementations§
impl<const VID: u8, const SID: u8> Freeze for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> !RefUnwindSafe for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> Send for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> Sync for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> Unpin for ValueType<VID, SID>
impl<const VID: u8, const SID: u8> !UnwindSafe for ValueType<VID, SID>
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