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