pub enum NetworkingMetricDimensionSocketOption {
Show 49 variants
Unknown = 0,
AcceptConn = 1,
AddIpMembership = 2,
AddIpv6membership = 3,
BindToDevice = 4,
Broadcast = 5,
DropIpMembership = 6,
DropIpv6Membership = 7,
Error = 8,
IpMulticastInterface = 9,
IpMulticastLoopback = 10,
IpMulticastTtl = 11,
IpPacketInfo = 12,
IpReceiveTtl = 13,
IpReceiveTypeOfService = 14,
IpTtl = 15,
IpTypeOfService = 16,
Ipv6MulticastHops = 17,
Ipv6MulticastInterface = 18,
Ipv6MulticastLoopback = 19,
Ipv6Only = 20,
Ipv6ReceiveHopLimit = 21,
Ipv6ReceivePacketInfo = 22,
Ipv6ReceiveTrafficClass = 23,
Ipv6TrafficClass = 24,
Ipv6UnicastHops = 25,
KeepAlive = 26,
Linger = 27,
NoCheck = 28,
OutOfBandInline = 29,
ReceiveBuffer = 30,
ReuseAddress = 31,
ReusePort = 32,
SendBuffer = 33,
TcpCongestion = 34,
TcpCork = 35,
TcpDeferAccept = 36,
TcpInfo = 37,
TcpKeepAliveCount = 38,
TcpKeepAliveIdle = 39,
TcpKeepAliveInterval = 40,
TcpLinger = 41,
TcpMaxSegment = 42,
TcpNoDelay = 43,
TcpQuickAck = 44,
TcpSynCount = 45,
TcpUserTimeout = 46,
TcpWindowClamp = 47,
Timestamp = 48,
}
Variants§
Unknown = 0
AcceptConn = 1
AddIpMembership = 2
AddIpv6membership = 3
BindToDevice = 4
Broadcast = 5
DropIpMembership = 6
DropIpv6Membership = 7
Error = 8
IpMulticastInterface = 9
IpMulticastLoopback = 10
IpMulticastTtl = 11
IpPacketInfo = 12
IpReceiveTtl = 13
IpReceiveTypeOfService = 14
IpTtl = 15
IpTypeOfService = 16
Ipv6MulticastHops = 17
Ipv6MulticastInterface = 18
Ipv6MulticastLoopback = 19
Ipv6Only = 20
Ipv6ReceiveHopLimit = 21
Ipv6ReceivePacketInfo = 22
Ipv6ReceiveTrafficClass = 23
Ipv6TrafficClass = 24
Ipv6UnicastHops = 25
KeepAlive = 26
Linger = 27
NoCheck = 28
OutOfBandInline = 29
ReceiveBuffer = 30
ReuseAddress = 31
ReusePort = 32
SendBuffer = 33
TcpCongestion = 34
TcpCork = 35
TcpDeferAccept = 36
TcpInfo = 37
TcpKeepAliveCount = 38
TcpKeepAliveIdle = 39
TcpKeepAliveInterval = 40
TcpLinger = 41
TcpMaxSegment = 42
TcpNoDelay = 43
TcpQuickAck = 44
TcpSynCount = 45
TcpUserTimeout = 46
TcpWindowClamp = 47
Timestamp = 48
Trait Implementations§
Source§impl AsEventCode for NetworkingMetricDimensionSocketOption
impl AsEventCode for NetworkingMetricDimensionSocketOption
fn as_event_code(&self) -> u32
Source§impl Clone for NetworkingMetricDimensionSocketOption
impl Clone for NetworkingMetricDimensionSocketOption
Source§fn clone(&self) -> NetworkingMetricDimensionSocketOption
fn clone(&self) -> NetworkingMetricDimensionSocketOption
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for NetworkingMetricDimensionSocketOption
impl Ord for NetworkingMetricDimensionSocketOption
Source§fn cmp(&self, other: &NetworkingMetricDimensionSocketOption) -> Ordering
fn cmp(&self, other: &NetworkingMetricDimensionSocketOption) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NetworkingMetricDimensionSocketOption
impl PartialEq for NetworkingMetricDimensionSocketOption
Source§fn eq(&self, other: &NetworkingMetricDimensionSocketOption) -> bool
fn eq(&self, other: &NetworkingMetricDimensionSocketOption) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for NetworkingMetricDimensionSocketOption
impl PartialOrd for NetworkingMetricDimensionSocketOption
impl Copy for NetworkingMetricDimensionSocketOption
impl Eq for NetworkingMetricDimensionSocketOption
impl StructuralPartialEq for NetworkingMetricDimensionSocketOption
Auto Trait Implementations§
impl Freeze for NetworkingMetricDimensionSocketOption
impl RefUnwindSafe for NetworkingMetricDimensionSocketOption
impl Send for NetworkingMetricDimensionSocketOption
impl Sync for NetworkingMetricDimensionSocketOption
impl Unpin for NetworkingMetricDimensionSocketOption
impl UnwindSafe for NetworkingMetricDimensionSocketOption
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)