pub struct DataFrag {
pub key_flag: bool,
pub non_standard_payload: bool,
pub reader_id: EntityId,
pub writer_id: EntityId,
pub writer_sn: SequenceNumber,
pub fragment_starting_num: FragmentNumber,
pub fragments_in_submessage: u16,
pub fragment_size: u16,
pub sample_size: u32,
pub inline_qos: Option<ParameterList>,
pub serialized_payload: Octets,
}Expand description
DATA_FRAG: some fragments of a change (8.3.8.3).
Fields§
§key_flag: boolKeyFlag: the fragments are of the key, not the value.
non_standard_payload: boolNonStandardPayloadFlag.
reader_id: EntityIdThe reader, or EntityId::UNKNOWN.
writer_id: EntityIdThe writer.
writer_sn: SequenceNumberThe sequence number of the change.
fragment_starting_num: FragmentNumberThe first fragment in this submessage (from 1).
fragments_in_submessage: u16How many consecutive fragments this submessage holds.
fragment_size: u16The size of each fragment.
sample_size: u32The size of the whole serialized data (sampleSize, called
dataSize in 8.3.8.3).
inline_qos: Option<ParameterList>In-line QoS (flag Q).
serialized_payload: OctetsThe fragment octets.
Trait Implementations§
impl Eq for DataFrag
impl StructuralPartialEq for DataFrag
Auto Trait Implementations§
impl Forget for DataFrag
impl Freeze for DataFrag
impl Move for DataFrag
impl RefUnwindSafe for DataFrag
impl Send for DataFrag
impl Sync for DataFrag
impl Unpin for DataFrag
impl UnsafeUnpin for DataFragwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Parameter>: UnsafeUnpin,
*const ArcInner<Vec<u8>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<u8>>>: UnsafeUnpin,
impl UnwindSafe for DataFrag
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