☰
Debian Codegraph
@
0.2.2-1
/
/
examples
/
logchanges.rs
☽
☼
examples/logchanges.rs
code
plain
raw
symbols
SCIP
Apache-2.0
or
MIT
2022-2023 Tweede Golf and Contributors
debian/copyright
1
use
timestamped_socket
::
interface
::
ChangeDetector
;
2
3
#[
tokio
::
main
]
4
async fn
main
() {
5
let mut
detector
=
ChangeDetector
::
new
().
unwrap
();
6
7
loop {
8
detector
.
wait_for_change
()
.
await
;
9
println
!("Change detected");
10
}
11
}