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

Method as_raw_pid

src/pid.rs:85–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 /// This is the same as `self.as_raw_nonzero().get()`.
84 #[inline]
85 pub const fn as_raw_pid(self) -> RawPid {
86 self.0.get()
87 }
88
89 /// Converts an `Option<Pid>` into a `RawPid`.
90 #[inline]

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected