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) { ... }
}

Required Methods§

source

fn in_mbufs_own(&mut self) -> Vec<Mbuf>

source

fn in_mbufs_ref(&mut self) -> &mut Vec<Mbuf>

source

fn out_packets(&mut self) -> &mut Vec<PktData>

Provided Methods§

source

fn drain_mbufs(&mut self)

source

fn packets(&mut self) -> &Vec<PktData>

source

fn push(&mut self, pdu: &L4Pdu)

Implementors§