aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/worker.rs
blob: d95050e767367556039d6cfbade922471a33f806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::Device;

use super::super::{tun, udp, Endpoint};
use super::types::Callbacks;

use super::receive::ReceieveJob;
use super::send::SendJob;

fn worker<E: Endpoint, C: Callbacks, T: tun::Writer, B: udp::Writer<E>>(
    device: Device<E, C, T, B>,
) {
    // fetch job
}