Struct lib_sendpacket::Tcp [] [src]

pub struct Tcp {
    pub dport: u16,
    pub sport: u16,
}

Fields

Methods

impl Tcp
[src]

[src]

Constructs a new Tcp.

Trait Implementations

impl Clone for Tcp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Tcp
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Tcp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Tcp
[src]

impl Transport for Tcp
[src]

Auto Trait Implementations

impl Send for Tcp

impl Sync for Tcp