pub struct Frame {
pub timestamp_delta_ns: i64,
pub participant_idx: u32,
pub topic_idx: u32,
pub sample_kind: SampleKind,
pub payload: Vec<u8>,
}Expand description
Frame in the sample stream.
Fields§
§timestamp_delta_ns: i64Nanosecond delta to the header time_base_unix_ns.
participant_idx: u32Index in Header::participants.
topic_idx: u32Index in Header::topics.
sample_kind: SampleKindDDS sample kind (Alive/Disposed/Unregistered).
payload: Vec<u8>CDR-encoded payload bytes.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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