Struct lib_sendpacket::Udp [] [src]

pub struct Udp {
    pub src_port: u16,
    pub dst_port: u16,
}

Fields

Methods

impl Udp
[src]

[src]

Constructs a new Udp.

Trait Implementations

impl Clone for Udp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Udp
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Udp
[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 Udp
[src]

impl Transport for Udp
[src]

Auto Trait Implementations

impl Send for Udp

impl Sync for Udp