pub struct FrameView<'a> {
pub timestamp_delta_ns: i64,
pub participant_idx: u32,
pub topic_idx: u32,
pub sample_kind: SampleKind,
pub payload: &'a [u8],
}Expand description
Borrowed variant of the frame — useful for replay without a copy.
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.
payload: &'a [u8]Borrowed payload.
Implementations§
Trait Implementations§
impl<'a> Eq for FrameView<'a>
impl<'a> StructuralPartialEq for FrameView<'a>
Auto Trait Implementations§
impl<'a> Freeze for FrameView<'a>
impl<'a> RefUnwindSafe for FrameView<'a>
impl<'a> Send for FrameView<'a>
impl<'a> Sync for FrameView<'a>
impl<'a> Unpin for FrameView<'a>
impl<'a> UnsafeUnpin for FrameView<'a>
impl<'a> UnwindSafe for FrameView<'a>
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