Enum actix::actors::dns::SocketType
[−]
[src]
pub enum SocketType { Stream, DGram, Raw, Other(c_int), }
Types of Sockets
Variants
Stream
Sequenced, reliable, connection-based byte streams.
DGram
Connectionless, unreliable datagrams of fixed max length.
Raw
Raw protocol interface.
Other(c_int)
Some other
Methods
impl SocketType
[src]
Trait Implementations
impl Copy for SocketType
[src]
impl Clone for SocketType
[src]
fn clone(&self) -> SocketType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more