Struct pnet_transport::TransportSender[][src]

pub struct TransportSender {
    pub socket: Arc<FileDesc>,
    // some fields omitted
}
Expand description

Structure used for sending at the transport layer. Should be created with transport_channel().

Fields

socket: Arc<FileDesc>

Implementations

Send a packet to the provided destination.

Sets a time-to-live on the socket, which then applies for all packets sent.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.