[][src]Trait nix::sys::socket::SetSockOpt

pub trait SetSockOpt: Clone {
    type Val;
}

Represents a socket option that can be accessed or set. Used as an argument to setsockopt

Associated Types

type Val

Loading content...

Implementors

impl SetSockOpt for BindAny[src]

type Val = bool

impl SetSockOpt for Broadcast[src]

type Val = bool

impl SetSockOpt for IpAddMembership[src]

impl SetSockOpt for IpDropMembership[src]

impl SetSockOpt for IpMulticastLoop[src]

type Val = bool

impl SetSockOpt for IpMulticastTtl[src]

type Val = u8

impl SetSockOpt for Ipv4RecvDstAddr[src]

type Val = bool

impl SetSockOpt for Ipv4RecvIf[src]

type Val = bool

impl SetSockOpt for Ipv6AddMembership[src]

impl SetSockOpt for Ipv6DropMembership[src]

impl SetSockOpt for Ipv6RecvPacketInfo[src]

type Val = bool

impl SetSockOpt for KeepAlive[src]

type Val = bool

impl SetSockOpt for Linger[src]

type Val = linger

impl SetSockOpt for OobInline[src]

type Val = bool

impl SetSockOpt for RcvBuf[src]

type Val = usize

impl SetSockOpt for ReceiveTimeout[src]

type Val = TimeVal

impl SetSockOpt for ReceiveTimestamp[src]

type Val = bool

impl SetSockOpt for ReuseAddr[src]

type Val = bool

impl SetSockOpt for ReusePort[src]

type Val = bool

impl SetSockOpt for SendTimeout[src]

type Val = TimeVal

impl SetSockOpt for SndBuf[src]

type Val = usize

impl SetSockOpt for TcpCongestion[src]

type Val = OsString

impl SetSockOpt for TcpKeepIdle[src]

type Val = u32

impl SetSockOpt for TcpNoDelay[src]

type Val = bool

Loading content...