Enum nix::sys::socket::SockProtocol [−][src]
Constants used in socket
and socketpair
to specify the protocol to use.
Variants
TCP protocol (ip(7))
UDP protocol (ip(7))
Receives routing and link updates and may be used to modify the routing tables (both IPv4 and IPv6), IP addresses, link (ref)
Reserved for user-mode socket protocols (ref)
Query information about sockets of various protocol families from the kernel (ref)
SELinux event notifications. (ref)
Open-iSCSI (ref)
Auditing (ref)
Access to FIB lookup from user space (ref)
Netfilter subsystem (ref)
SCSI Transports (ref)
Infiniband RDMA (ref)
Transport IPv6 packets from netfilter to user space. Used by ip6_queue kernel module. (ref)
DECnet routing messages (ref)
Kernel messages to user space (ref)
Netlink interface to request information about ciphers registered with the kernel crypto API as well as allow configuration of the kernel crypto API. (ref)
Trait Implementations
impl Clone for SockProtocol
[src]
fn clone(&self) -> SockProtocol
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SockProtocol
[src]
impl Debug for SockProtocol
[src]
impl Eq for SockProtocol
[src]
impl Hash for SockProtocol
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SockProtocol> for SockProtocol
[src]
fn eq(&self, other: &SockProtocol) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SockProtocol
[src]
impl StructuralPartialEq for SockProtocol
[src]
Auto Trait Implementations
impl RefUnwindSafe for SockProtocol
impl Send for SockProtocol
impl Sync for SockProtocol
impl Unpin for SockProtocol
impl UnwindSafe for SockProtocol
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,