]>
code.octet-stream.net Git - netwatcher/blob - src/watch_mac.rs
3 pub(crate) struct WatchHandle
;
5 pub(crate) fn watch_interfaces
<F
: FnMut(Update
) + '
static>(
7 ) -> Result
<WatchHandle
, Error
> {
8 // stop current worker thread
9 // post this into a thread that will use it