pub trait Chunk: Display + Debug {
// Required methods
fn set_timestamp(&mut self) -> SystemTime;
fn get_timestamp(&self) -> SystemTime;
fn get_source_ip(&self) -> IpAddr;
fn get_destination_ip(&self) -> IpAddr;
fn set_source_addr(&mut self, address: &str) -> Result<()>;
fn set_destination_addr(&mut self, address: &str) -> Result<()>;
fn source_addr(&self) -> SocketAddr;
fn destination_addr(&self) -> SocketAddr;
fn user_data(&self) -> Vec<u8> ⓘ;
fn tag(&self) -> String;
fn network(&self) -> String;
fn clone_to(&self) -> Box<dyn Chunk + Send + Sync>;
}