use-process-id 0.1.0

Primitive process identity wrappers for RustUse
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented1 out of 8 items with examples
  • Size
  • Source code size: 6.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 507.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-os
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-process-id

Primitive process identity types.

use-process-id wraps numeric process identifiers as plain validated values. It does not inspect running processes, query the current process ID, spawn processes, kill processes, or wrap platform-specific process handles.

use use_process_id::ProcessId;

let process_id = ProcessId::new(42).unwrap();

assert_eq!(process_id.get(), 42);
assert_eq!(process_id.to_string(), "42");