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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.