portsage 0.2.0

A TUI tool to monitor processes and their listening ports
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::time::Instant;

#[derive(Debug, PartialEq, Eq)]
pub enum Mode {
    Normal,
    FilterInput,
    Detail,
    ConfirmKill,
}

#[derive(Default)]
pub struct ClipboardMessage {
    pub message: Option<(String, Instant)>,
}