Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ addr_len
Method
addr_len
src/net/socket_addr_any.rs:164–166 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
162
/// Returns the length of the encoded sockaddr.
163
#[inline]
164
pub fn addr_len(&self) -> SocketAddrLen {
165
self.len.get()
166
}
167
}
168
169
impl PartialEq<Self> for SocketAddrAny {
Callers
4
fmt
Method · 0.45
with_sockaddr
Method · 0.45
any_read
Function · 0.45
with_sockaddr
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
1
any_read
Function · 0.36