netstack_testing_common::nud

Function create_metadata_stream

Source
pub fn create_metadata_stream<'a>(
    ep: &'a TestFakeEndpoint<'a>,
) -> impl Stream<Item = Result<FrameMetadata>> + 'a
Expand description

Creates a fake endpoint that extracts FrameMetadata from exchanged frames in network.