embassy-net

Crates

git

Versions

default

Flavors

embassy_net

Function new

Source
pub fn new<'d, D: Driver, const SOCK: usize>(
    driver: D,
    config: Config,
    resources: &'d mut StackResources<SOCK>,
    random_seed: u64,
) -> (Stack<'d>, Runner<'d, D>)
Expand description

Create a new network stack.