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

Method trapped

src/process/wait.rs:215–217  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

213 /// Returns whether the process is currently trapped.
214 #[inline]
215 pub fn trapped(&self) -> bool {
216 self.raw_code() == bitcast!(backend::c::CLD_TRAPPED)
217 }
218
219 /// Returns whether the process has exited normally.
220 #[inline]

Callers 2

trapping_signalMethod · 0.80
fmtMethod · 0.80

Calls 1

raw_codeMethod · 0.80

Tested by

no test coverage detected