pub struct IpSocketTcpState {
pub src_port: Option<u16>,
pub dst_port: Option<u16>,
pub state: State,
pub tcp_info: Option<TcpInfo>,
}Expand description
Extension type for [fnet_sockets::IpSocketTcpState].
Fields§
§src_port: Option<u16>The source port of the socket.
dst_port: Option<u16>The destination port of the socket.
state: StateThe TCP state machine state for the socket.
tcp_info: Option<TcpInfo>Extended TCP information if the TCP_INFO extension was requested.
Trait Implementations§
Source§impl Clone for IpSocketTcpState
impl Clone for IpSocketTcpState
Source§fn clone(&self) -> IpSocketTcpState
fn clone(&self) -> IpSocketTcpState
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 IpSocketTcpState
impl Debug for IpSocketTcpState
Source§impl From<IpSocketTcpState> for IpSocketTcpState
impl From<IpSocketTcpState> for IpSocketTcpState
Source§fn from(state: IpSocketTcpState) -> Self
fn from(state: IpSocketTcpState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IpSocketTcpState
impl PartialEq for IpSocketTcpState
Source§impl TryFrom<IpSocketTcpState> for IpSocketTcpState
impl TryFrom<IpSocketTcpState> for IpSocketTcpState
impl Eq for IpSocketTcpState
impl StructuralPartialEq for IpSocketTcpState
Auto Trait Implementations§
impl Freeze for IpSocketTcpState
impl RefUnwindSafe for IpSocketTcpState
impl Send for IpSocketTcpState
impl Sync for IpSocketTcpState
impl Unpin for IpSocketTcpState
impl UnsafeUnpin for IpSocketTcpState
impl UnwindSafe for IpSocketTcpState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.