Function linkspace::runtime::cb::cb

source ·
pub fn cb(
    handle_pkt: impl FnMut(&dyn NetPkt, &Linkspace) -> bool
) -> impl PktHandler
Expand description

takes a fn(&dyn NetPkt,&Linkspace) -> bool[should_continue] and returns impl PktHandler