Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
fetch
Function · 0.45
unpoison_maybe_uninit
Function · 0.45
sysname
Method · 0.45
nodename
Method · 0.45
release
Method · 0.45
version
Method · 0.45
machine
Method · 0.45
domainname
Method · 0.45
c_str
Function · 0.45
vmsplice
Function · 0.45
from_slice
Method · 0.45
mount
Function · 0.45
Calls
no outgoing calls
Tested by
3
fetch
Function · 0.36
dir_iterator_handles_io_errors
Function · 0.36
any_read
Function · 0.36