Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ interface_index
Method
interface_index
src/net/types.rs:1848–1850 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1846
/// Return interface index.
1847
#[inline]
1848
pub fn interface_index(&self) -> u32 {
1849
self.sxdp_ifindex
1850
}
1851
1852
/// Set interface index.
1853
#[inline]
Callers
1
with_sockaddr
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected