MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / as_ptr

Method as_ptr

src/net/socket_addr_any.rs:152–154  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

150 /// Returns a raw pointer to the sockaddr.
151 #[inline]
152 pub fn as_ptr(&self) -> *const SocketAddrStorage {
153 self.storage.as_ptr()
154 }
155
156 /// Returns a raw mutable pointer to the sockaddr.
157 #[inline]

Callers 15

fetchFunction · 0.45
unpoison_maybe_uninitFunction · 0.45
sysnameMethod · 0.45
nodenameMethod · 0.45
releaseMethod · 0.45
versionMethod · 0.45
machineMethod · 0.45
domainnameMethod · 0.45
c_strFunction · 0.45
vmspliceFunction · 0.45
from_sliceMethod · 0.45
mountFunction · 0.45

Calls

no outgoing calls

Tested by 3

fetchFunction · 0.36
any_readFunction · 0.36