pub struct SegmentChunk {
pub data: Vec<u8>,
}
Expand description
Message providing a chunk of a split message.
Fields§
§data: Vec<u8>
The data to be appended to previously received chunks.
Trait Implementations§
Source§impl Clone for SegmentChunk
impl Clone for SegmentChunk
Source§fn clone(&self) -> SegmentChunk
fn clone(&self) -> SegmentChunk
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 SegmentChunk
impl Debug for SegmentChunk
Source§impl PartialEq for SegmentChunk
impl PartialEq for SegmentChunk
Source§impl Readable for SegmentChunk
impl Readable for SegmentChunk
Source§impl Type for SegmentChunk
impl Type for SegmentChunk
Source§impl Writeable for SegmentChunk
impl Writeable for SegmentChunk
impl Eq for SegmentChunk
impl StructuralPartialEq for SegmentChunk
Auto Trait Implementations§
impl Freeze for SegmentChunk
impl RefUnwindSafe for SegmentChunk
impl Send for SegmentChunk
impl Sync for SegmentChunk
impl Unpin for SegmentChunk
impl UnwindSafe for SegmentChunk
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