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

pub trait GetSockOpt: Copy {
    type Val;
}

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

Associated Types

type Val

Loading content...

Implementors

impl GetSockOpt for AcceptConn[src]

type Val = bool

impl GetSockOpt for BindToDevice[src]

type Val = OsString

impl GetSockOpt for Broadcast[src]

type Val = bool

impl GetSockOpt for IpMulticastLoop[src]

type Val = bool

impl GetSockOpt for IpMulticastTtl[src]

type Val = u8

impl GetSockOpt for IpTransparent[src]

type Val = bool

impl GetSockOpt for Ipv4PacketInfo[src]

type Val = bool

impl GetSockOpt for Ipv6RecvPacketInfo[src]

type Val = bool

impl GetSockOpt for KeepAlive[src]

type Val = bool

impl GetSockOpt for Linger[src]

type Val = linger

impl GetSockOpt for Mark[src]

type Val = u32

impl GetSockOpt for OobInline[src]

type Val = bool

impl GetSockOpt for OriginalDst[src]

type Val = sockaddr_in

impl GetSockOpt for PassCred[src]

type Val = bool

impl GetSockOpt for PeerCredentials[src]

impl GetSockOpt for RcvBuf[src]

type Val = usize

impl GetSockOpt for ReceiveTimeout[src]

type Val = TimeVal

impl GetSockOpt for ReceiveTimestamp[src]

type Val = bool

impl GetSockOpt for ReuseAddr[src]

type Val = bool

impl GetSockOpt for ReusePort[src]

type Val = bool

impl GetSockOpt for SendTimeout[src]

type Val = TimeVal

impl GetSockOpt for SndBuf[src]

type Val = usize

impl GetSockOpt for SockType[src]

type Val = SockType

impl GetSockOpt for SocketError[src]

type Val = i32

impl GetSockOpt for TcpCongestion[src]

type Val = OsString

impl GetSockOpt for TcpKeepIdle[src]

type Val = u32

impl GetSockOpt for TcpNoDelay[src]

type Val = bool

impl GetSockOpt for UdpGroSegment[src]

type Val = bool

impl GetSockOpt for UdpGsoSegment[src]

type Val = c_int

Loading content...