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

Method len

src/backend/linux_raw/net/addr.rs:173–175  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

171
172 #[inline]
173 pub(crate) fn len(&self) -> usize {
174 self.addr_len() as usize
175 }
176
177 #[inline]
178 fn bytes(&self) -> Option<&[u8]> {

Callers 15

sliceFunction · 0.45
slice_mutFunction · 0.45
get_shm_nameFunction · 0.45
vmspliceFunction · 0.45
from_sliceMethod · 0.45
from_slice_mutMethod · 0.45
readvFunction · 0.45
preadvFunction · 0.45
preadv2Function · 0.45
writevFunction · 0.45
pwritevFunction · 0.45
pwritev2Function · 0.45

Calls 1

addr_lenMethod · 0.45

Tested by

no test coverage detected