pub struct SegmentationInfo {
pub ref_num: u16,
pub total_segments: u8,
pub seq_num: u8,
}Expand description
Information about message segmentation/concatenation
Fields§
§ref_num: u16Reference Number (to group segments)
total_segments: u8Total number of segments
seq_num: u8Sequence number of this segment (1-based)
Trait Implementations§
Source§impl Clone for SegmentationInfo
impl Clone for SegmentationInfo
Source§fn clone(&self) -> SegmentationInfo
fn clone(&self) -> SegmentationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentationInfo
impl Debug for SegmentationInfo
Source§impl PartialEq for SegmentationInfo
impl PartialEq for SegmentationInfo
impl StructuralPartialEq for SegmentationInfo
Auto Trait Implementations§
impl Freeze for SegmentationInfo
impl RefUnwindSafe for SegmentationInfo
impl Send for SegmentationInfo
impl Sync for SegmentationInfo
impl Unpin for SegmentationInfo
impl UnwindSafe for SegmentationInfo
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