pub struct Segment {
pub seq: u32,
pub data: Vec<u8>,
pub frame_number: u64,
pub timestamp: i64,
}Expand description
A TCP segment waiting to be reassembled.
Fields§
§seq: u32§data: Vec<u8>§frame_number: u64§timestamp: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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