Function linkspace::runtime::lk_get_ref

source ·
pub fn lk_get_ref<A>(
    lk: &Linkspace,
    query: &Query,
    cb: &mut dyn FnMut(&dyn NetPkt) -> A
) -> LkResult<Option<A>>
Expand description

read a single packet directly without copying when possible. *