Enum nix::sys::socket::SockProtocol [−][src]
#[repr(i32)] pub enum SockProtocol { Tcp, Udp, }
Constants used in socket
and socketpair
to specify the protocol to use.
Variants
TCP protocol (ip(7))
UDP protocol (ip(7))
Trait Implementations
impl Clone for SockProtocol
[src]
impl Clone for SockProtocol
[src]fn clone(&self) -> SockProtocol
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for SockProtocol
[src]
impl Hash for SockProtocol
[src]impl PartialEq<SockProtocol> for SockProtocol
[src]
impl PartialEq<SockProtocol> for SockProtocol
[src]