Skip to main content

Module core

Module core 

Source
Expand description

Core abstractions for process and port management

This module provides cross-platform abstractions for working with system processes and network ports.

Re-exports§

pub use apply::apply_to_each;
pub use filters::apply_filters;
pub use filters::matches_by_filter;
pub use filters::matches_in_filter;
pub use filters::resolve_in_dir;
pub use filters::sort_ports;
pub use filters::sort_processes;
pub use filters::PortSortKey;
pub use filters::SortKey;
pub use filters::StatusFilter;
pub use name_match::classify;
pub use name_match::matches_name;
pub use name_match::Hit;
pub use name_match::NameMatch;
pub use name_match::Names;
pub use port::parse_port;
pub use port::PortInfo;
pub use port::Protocol;
pub use process::parse_signal_name;
pub use process::escape_control;
pub use process::is_thread;
pub use process::Process;
pub use process::ProcessStatus;
pub use process::RawText;
pub use target::comma_notice;
pub use target::find_ports_for_pid;
pub use target::flatten_targets;
pub use target::parse_target;
pub use target::parse_targets;
pub use target::resolve_target;
pub use target::resolve_targets;
pub use target::resolve_targets_excluding_self;
pub use target::validate_target_arg;
pub use target::Resolved;
pub use target::TargetType;

Modules§

apply
Run one action over several processes and sort the results
filters
Shared filter utilities used across commands
name_match
How a name target (and a --by filter) is compared with a process.
port
Port discovery and management
process
Cross-platform process abstraction
target
Target resolution - Convert user input to processes