pub struct SegmentStart {
pub nb_segments: u16,
pub data: Vec<u8>,
}
Expand description
Message indicating that an incoming message has been split and needs to be reconstructed.
Fields§
§nb_segments: u16
The number of segments into which the large message has been split.
data: Vec<u8>
The data for the first segment.
Trait Implementations§
Source§impl Clone for SegmentStart
impl Clone for SegmentStart
Source§fn clone(&self) -> SegmentStart
fn clone(&self) -> SegmentStart
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 SegmentStart
impl Debug for SegmentStart
Source§impl PartialEq for SegmentStart
impl PartialEq for SegmentStart
Source§impl Readable for SegmentStart
impl Readable for SegmentStart
Source§impl Type for SegmentStart
impl Type for SegmentStart
Source§impl Writeable for SegmentStart
impl Writeable for SegmentStart
impl Eq for SegmentStart
impl StructuralPartialEq for SegmentStart
Auto Trait Implementations§
impl Freeze for SegmentStart
impl RefUnwindSafe for SegmentStart
impl Send for SegmentStart
impl Sync for SegmentStart
impl Unpin for SegmentStart
impl UnwindSafe for SegmentStart
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