Enum actix::actors::dns::SocketType [] [src]

pub enum SocketType {
    Stream,
    DGram,
    Raw,
    Other(c_int),
}

Types of Sockets

Variants

Sequenced, reliable, connection-based byte streams.

Connectionless, unreliable datagrams of fixed max length.

Raw protocol interface.

Some other

Methods

impl SocketType
[src]

[src]

[src]

Trait Implementations

impl Copy for SocketType
[src]

impl Clone for SocketType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SocketType
[src]

[src]

Formats the value using the given formatter.