Trait retina_datatypes::FromMbuf

source ·
pub trait FromMbuf {
    // Required method
    fn from_mbuf(mbuf: &Mbuf) -> Option<&Self>;
}
Expand description

Trait implemented by datatypes that are built from a packet (Mbuf). This is used when subscribing to packet-level data.

Required Methods§

source

fn from_mbuf(mbuf: &Mbuf) -> Option<&Self>

Object Safety§

This trait is not object safe.

Implementors§