pub struct Segment {
pub seq: u32,
pub ack: u32,
pub flags: u8,
pub payload_len: u32,
}Expand description
受信した 1 セグメントのうち、状態遷移の判断に必要な情報だけを抜き出したもの。
Fields§
§seq: u32§ack: u32§flags: u8§payload_len: u32Trait 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 UnsafeUnpin 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