pub(crate) struct TcpConnState {
pub(crate) socket: SocketHandle,
pub(crate) local_port: u16,
pub(crate) remote: IpEndpoint,
}Expand description
State for an outgoing TCP connection (tcp/connect/<ip>/<port>).
Fields§
§socket: SocketHandle§local_port: u16§remote: IpEndpointTrait Implementations§
Source§impl Clone for TcpConnState
impl Clone for TcpConnState
Source§fn clone(&self) -> TcpConnState
fn clone(&self) -> TcpConnState
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 moreimpl Copy for TcpConnState
Auto Trait Implementations§
impl Freeze for TcpConnState
impl RefUnwindSafe for TcpConnState
impl Send for TcpConnState
impl Sync for TcpConnState
impl Unpin for TcpConnState
impl UnsafeUnpin for TcpConnState
impl UnwindSafe for TcpConnState
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