summaryrefslogtreecommitdiffstats
path: root/vendor/sysinfo-0.26.7/md_doc/networks.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sysinfo-0.26.7/md_doc/networks.md')
-rw-r--r--vendor/sysinfo-0.26.7/md_doc/networks.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/sysinfo-0.26.7/md_doc/networks.md b/vendor/sysinfo-0.26.7/md_doc/networks.md
new file mode 100644
index 000000000..d8b6cc632
--- /dev/null
+++ b/vendor/sysinfo-0.26.7/md_doc/networks.md
@@ -0,0 +1,8 @@
+Networks interfaces.
+
+```no_run
+use sysinfo::{NetworksExt, System, SystemExt};
+
+let s = System::new_all();
+let networks = s.networks();
+```