Trait retina_datatypes::packet_list::PktStream
source · pub trait PktStream {
// Required methods
fn in_mbufs_own(&mut self) -> Vec<Mbuf>;
fn in_mbufs_ref(&mut self) -> &mut Vec<Mbuf>;
fn out_packets(&mut self) -> &mut Vec<PktData>;
// Provided methods
fn drain_mbufs(&mut self) { ... }
fn packets(&mut self) -> &Vec<PktData> { ... }
fn push(&mut self, pdu: &L4Pdu) { ... }
}