muster-workspace 0.3.0

A terminal workspace for running CLI agents and dev processes side by side
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use nutype::nutype;

/// Stable identifier for a managed process and its terminal pane.
#[nutype(derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Display))]
pub struct PaneId(u64);

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn distinct_ids_are_not_equal() {
        assert_ne!(PaneId::new(1), PaneId::new(2));
    }
}