pub enum Emit {
Payload,
PayloadWithEncapsulation,
KeyHash,
}Expand description
What the probe writes out.
Variants§
Payload
The serialised sample, with no encapsulation header.
The default, because it is the part two implementations have to agree on byte for byte. The header says which encoding was used, which the caller already chose.
PayloadWithEncapsulation
The sample behind its four-byte encapsulation header.
KeyHash
The sixteen-byte KeyHash. DDSI-RTPS 2.5 §9.6.3.8.
Implementations§
Trait Implementations§
impl Copy for Emit
impl Eq for Emit
impl StructuralPartialEq for Emit
Auto Trait Implementations§
impl Freeze for Emit
impl RefUnwindSafe for Emit
impl Send for Emit
impl Sync for Emit
impl Unpin for Emit
impl UnsafeUnpin for Emit
impl UnwindSafe for Emit
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