[][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 AlgSetAeadAuthSize[src]

type Val = usize

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 IpTransparent[src]

type Val = bool

impl SetSockOpt for Ipv4PacketInfo[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 Mark[src]

type Val = u32

impl SetSockOpt for OobInline[src]

type Val = bool

impl SetSockOpt for PassCred[src]

type Val = bool

impl SetSockOpt for RcvBuf[src]

type Val = usize

impl SetSockOpt for RcvBufForce[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 SndBufForce[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

impl<T> SetSockOpt for AlgSetKey<T> where
    T: AsRef<[u8]> + Clone
[src]

type Val = T

Loading content...