MCPcopy 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
169impl PartialEq<Self> for SocketAddrAny {

Callers 4

fmtMethod · 0.45
with_sockaddrMethod · 0.45
any_readFunction · 0.45
with_sockaddrMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

any_readFunction · 0.36