Trait nix::sys::socket::GetSockOpt [−][src]
Represents a socket option that can be accessed or set. Used as an argument
to getsockopt
Associated Types
type Val
Implementors
impl GetSockOpt for ReuseAddr type Val = bool;
impl GetSockOpt for ReusePort type Val = bool;
impl GetSockOpt for TcpNoDelay type Val = bool;
impl GetSockOpt for Linger type Val = linger;
impl GetSockOpt for IpMulticastTtl type Val = u8;
impl GetSockOpt for IpMulticastLoop type Val = bool;
impl GetSockOpt for ReceiveTimeout type Val = TimeVal;
impl GetSockOpt for SendTimeout type Val = TimeVal;
impl GetSockOpt for Broadcast type Val = bool;
impl GetSockOpt for OobInline type Val = bool;
impl GetSockOpt for SocketError type Val = i32;
impl GetSockOpt for KeepAlive type Val = bool;
impl GetSockOpt for PeerCredentials type Val = ucred;
impl GetSockOpt for TcpKeepIdle type Val = u32;
impl GetSockOpt for RcvBuf type Val = usize;
impl GetSockOpt for SndBuf type Val = usize;
impl GetSockOpt for SockType type Val = SockType;
impl GetSockOpt for AcceptConn type Val = bool;
impl GetSockOpt for OriginalDst type Val = sockaddr_in;