Struct asio::ip::Tcp
[−]
[src]
pub struct Tcp { // some fields omitted }
The Transmission Control Protocol.
Methods
impl Tcp
[src]
Trait Implementations
impl Debug for Tcp
[src]
impl PartialEq for Tcp
[src]
fn eq(&self, __arg_0: &Tcp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tcp) -> bool
This method tests for !=
.
impl Eq for Tcp
[src]
impl Clone for Tcp
[src]
fn clone(&self) -> Tcp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Protocol for Tcp
[src]
type Endpoint = IpEndpoint<Self>
fn family_type(&self) -> i32
Reurns a value suitable for passing as the domain argument.
fn socket_type(&self) -> i32
Returns a value suitable for passing as the type argument.
fn protocol_type(&self) -> i32
Returns a value suitable for passing as the protocol argument.