Trait nix::sys::socket::SetSockOpt
[−]
[src]
Represents a socket option that can be accessed or set. Used as an argument
to setsockopt
Associated Types
type Val
Implementors
impl SetSockOpt for ReuseAddr type Val = bool;
impl SetSockOpt for ReusePort type Val = bool;
impl SetSockOpt for TcpNoDelay type Val = bool;
impl SetSockOpt for Linger type Val = linger;
impl SetSockOpt for IpAddMembership type Val = ip_mreq;
impl SetSockOpt for IpDropMembership type Val = ip_mreq;
impl SetSockOpt for Ipv6AddMembership type Val = ipv6_mreq;
impl SetSockOpt for Ipv6DropMembership type Val = ipv6_mreq;
impl SetSockOpt for IpMulticastTtl type Val = u8;
impl SetSockOpt for IpMulticastLoop type Val = bool;
impl SetSockOpt for ReceiveTimeout type Val = TimeVal;
impl SetSockOpt for SendTimeout type Val = TimeVal;
impl SetSockOpt for Broadcast type Val = bool;
impl SetSockOpt for OobInline type Val = bool;
impl SetSockOpt for KeepAlive type Val = bool;
impl SetSockOpt for TcpKeepAlive type Val = u32;
impl SetSockOpt for RcvBuf type Val = usize;
impl SetSockOpt for SndBuf type Val = usize;