#[derive(Debug)] enum IpAddr { V4, V6, } fn main() { let ip= IpAddr::V6; println!("Hello {:?}",ip); }