rmap/analyze.rs
1// Legacy analyze functions - no longer used
2// The CLI now uses the analyze command implementation in commands/analyze.rs
3
4use std::io::Error as IoError;
5
6#[derive(Debug, Clone, Copy, PartialEq, Eq)]
7pub enum AnalysisType {
8 Dispersion,
9 Entropy {
10 start_bit: u8,
11 end_bit: u8,
12 },
13 Subnets {
14 max_subnets: usize,
15 prefix_length: u8,
16 },
17 Counts,
18}
19
20pub fn placeholder_analyze(_analysis_type: AnalysisType) -> Result<String, IoError> {
21 Err(IoError::new(
22 std::io::ErrorKind::InvalidData,
23 "Legacy analyze functions are no longer supported. Use the analyze command instead.",
24 ))
25}