☰
Debian Codegraph
@
0.1.13-2
/
/
examples
/
hotplug.rs
☽
☼
examples/hotplug.rs
code
plain
raw
symbols
SCIP
Apache-2.0
or
MIT
2023-2025 Kevin Mehall <
[email protected]
>
debian/copyright
1
use
futures_lite
::
stream
;
2
3
fn
main
() {
4
env_logger
::
init
();
5
for
event
in
stream
::
block_on
(
nusb
::
watch_devices
().
unwrap
()) {
6
println
!("{:#?}",
event
);
7
}
8
}