Searched refs:PosixSocketOption (Results 1 – 1 of 1) sorted by relevance
143 let optname = PosixSocketOption::try_from(optname as i32) in getsockopt()146 PosixSocketOption::SO_SNDBUF => { in getsockopt()154 PosixSocketOption::SO_RCVBUF => { in getsockopt()828 pub enum PosixSocketOption { enum930 impl TryFrom<i32> for PosixSocketOption { implementation941 impl From<PosixSocketOption> for i32 {942 fn from(value: PosixSocketOption) -> Self { in from()943 <PosixSocketOption as ToPrimitive>::to_i32(&value).unwrap() in from()