#[repr(i32)]pub enum SocketDomain {
Unix = 1,
Ipv4 = 2,
Ipv6 = 10,
}Expand description
Famille de protocole socket (premier argument de socket(2)).
Correspond aux constantes AF_* de <sys/socket.h>.
Variants§
Unix = 1
Sockets Unix locaux (communication intra-machine). IPC principal d’Air.
Ipv4 = 2
Sockets IPv4.
Ipv6 = 10
Sockets IPv6.
Trait Implementations§
Source§impl Clone for SocketDomain
impl Clone for SocketDomain
Source§fn clone(&self) -> SocketDomain
fn clone(&self) -> SocketDomain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SocketDomain
Source§impl Debug for SocketDomain
impl Debug for SocketDomain
impl Eq for SocketDomain
Source§impl Hash for SocketDomain
impl Hash for SocketDomain
Source§impl PartialEq for SocketDomain
impl PartialEq for SocketDomain
impl StructuralPartialEq for SocketDomain
Auto Trait Implementations§
impl Freeze for SocketDomain
impl RefUnwindSafe for SocketDomain
impl Send for SocketDomain
impl Sync for SocketDomain
impl Unpin for SocketDomain
impl UnsafeUnpin for SocketDomain
impl UnwindSafe for SocketDomain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more