MCPcopy Create free account

hub / github.com/GuillaumeGomez/sysinfo / functions

Functions1,805 in github.com/GuillaumeGomez/sysinfo

Methodhost_name
()
src/unix/bsd/freebsd/system.rs:203
Methodhost_name
()
src/unix/bsd/netbsd/system.rs:216
Methodhost_name
()
src/unix/apple/system.rs:463
Methodhost_name
()
src/unix/linux/system.rs:430
Methodhost_name
()
src/windows/system.rs:418
Methodhost_name
()
src/unknown/system.rs:138
Methodhost_name
Returns the system hostname based off DNS. Important**: this information is computed every time this function is called. ```no_run use sysinfo::Syst
src/common/system.rs:972
Methodid
(&self)
src/unix/groups.rs:10
Methodid
(&self)
src/unix/bsd/freebsd/disk.rs:73
Methodid
(&self)
src/unix/bsd/freebsd/component.rs:39
Methodid
(&self)
src/unix/bsd/netbsd/disk.rs:67
Methodid
(&self)
src/unix/bsd/netbsd/component.rs:39
Methodid
(&self)
src/unix/apple/disk.rs:79
Methodid
(&self)
src/unix/apple/macos/component/arm.rs:169
Methodid
(&self)
src/unix/apple/macos/component/x86.rs:164
Methodid
(&self)
src/unix/apple/app_store/users.rs:8
Methodid
(&self)
src/unix/apple/app_store/component.rs:26
Methodid
(&self)
src/unix/linux/disk.rs:83
Methodid
(&self)
src/unix/linux/component.rs:367
Methodid
(&self)
src/windows/users.rs:43
Methodid
(&self)
src/windows/disk.rs:177
Methodid
(&self)
src/windows/groups.rs:17
Methodid
(&self)
src/windows/component.rs:68
Methodid
(&self)
src/unknown/users.rs:8
Methodid
(&self)
src/unknown/disk.rs:31
Methodid
(&self)
src/unknown/groups.rs:6
Methodid
(&self)
src/unknown/component.rs:26
Methodid
On Unix, returns the Unix device ID. On Windows, returns the Volume Serial Number. Returns `None` if the device ID or the Volume Serial Number canno
src/common/disk.rs:56
Methodid
Returns the identifier of the component. Note: The identifier should be reasonably unique but is provided by the kernel. It could change if the hardw
src/common/component.rs:271
Methodinto_iter
(self)
src/common/disk.rs:241
Methodinto_iter
(self)
src/common/component.rs:40
Methodinto_iter
(self)
src/common/user.rs:220
Methodinto_iter
(self)
src/common/network.rs:31
Functionip_mask_enum_ipv4
()
src/unix/network_helper.rs:359
Functionip_mask_enum_ipv4_invalid
()
src/unix/network_helper.rs:366
Functionip_mask_enum_ipv6
()
src/unix/network_helper.rs:372
Functionip_mask_enum_ipv6_invalid
()
src/unix/network_helper.rs:379
Methodip_networks
(&self)
src/unix/bsd/network_common.rs:92
Methodip_networks
(&self)
src/unix/apple/network.rs:127
Methodip_networks
(&self)
src/unix/linux/network.rs:319
Methodip_networks
(&self)
src/windows/network.rs:270
Methodip_networks
(&self)
src/unknown/network.rs:79
Functionipv4_mask
()
src/unix/network_helper.rs:326
Functionipv4_mask_another
()
src/unix/network_helper.rs:333
Functionipv6_mask
()
src/unix/network_helper.rs:346
Functionipv6_mask_invalid
()
src/unix/network_helper.rs:353
Methodis_read_only
(&self)
src/unix/bsd/freebsd/disk.rs:97
Methodis_read_only
(&self)
src/unix/bsd/netbsd/disk.rs:91
Methodis_read_only
(&self)
src/unix/apple/disk.rs:107
Methodis_read_only
(&self)
src/unix/linux/disk.rs:111
Methodis_read_only
(&self)
src/windows/disk.rs:201
Methodis_read_only
(&self)
src/unknown/disk.rs:55
Methodis_read_only
Returns `true` if the disk is read-only. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks { pr
src/common/disk.rs:161
Methodis_removable
(&self)
src/unix/bsd/freebsd/disk.rs:93
Methodis_removable
(&self)
src/unix/bsd/netbsd/disk.rs:87
Methodis_removable
(&self)
src/unix/apple/disk.rs:103
Methodis_removable
(&self)
src/unix/linux/disk.rs:107
Methodis_removable
(&self)
src/windows/disk.rs:197
Methodis_removable
(&self)
src/unknown/disk.rs:51
Methodis_removable
Returns `true` if the disk is removable. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks { pr
src/common/disk.rs:146
Functionis_send
()
tests/send_sync.rs:7
Functionis_sync
()
tests/send_sync.rs:8
Methodis_windows_eleven
()
src/windows/system.rs:47
Methodkernel_long_version
Provides kernel version following this string format: | Platform | Result | |-|-| | Windows | Windows OS Build 20348.2227 | | Linux | Linux 6.12.13-2
src/common/system.rs:950
Methodkernel_name
()
src/unix/bsd/freebsd/system.rs:233
Methodkernel_name
()
src/unix/bsd/netbsd/system.rs:246
Methodkernel_name
()
src/unix/apple/system.rs:510
Methodkernel_name
()
src/unix/linux/system.rs:527
Methodkernel_name
()
src/windows/system.rs:463
Methodkernel_name
()
src/unknown/system.rs:134
Methodkernel_version
()
src/unix/bsd/freebsd/system.rs:214
Methodkernel_version
()
src/unix/bsd/netbsd/system.rs:227
Methodkernel_version
()
src/unix/apple/system.rs:468
Methodkernel_version
()
src/unix/linux/system.rs:449
Methodkernel_version
()
src/windows/system.rs:422
Methodkernel_version
()
src/unknown/system.rs:118
Methodkernel_version
Returns the system's kernel version. | example platform | value of `System::kernel_version()` | |---|---| | linux laptop | "6.8.0-48-generic" | | and
src/common/system.rs:831
Methodkill_and_wait
Sends [`Signal::Kill`] to the process then waits for its termination. Internally, this method is calling [`Process::kill`] then [`Process::wait`]. ⚠
src/common/system.rs:1702
Methodkill_with
(&self, signal: Signal)
src/unix/bsd/system_common.rs:69
Methodkill_with
(&self, signal: Signal)
src/unix/apple/macos/process.rs:141
Methodkill_with
(&self, _signal: Signal)
src/unix/apple/app_store/process.rs:12
Methodkill_with
(&self, signal: Signal)
src/unix/linux/process.rs:189
Methodkill_with
(&self, signal: Signal)
src/windows/process.rs:407
Methodkill_with
(&self, _signal: Signal)
src/unknown/process.rs:22
Methodkind
(&self)
src/unix/bsd/freebsd/disk.rs:64
Methodkind
(&self)
src/unix/bsd/netbsd/disk.rs:58
Methodkind
(&self)
src/unknown/disk.rs:23
Methodlabel
(&self)
src/unix/bsd/freebsd/component.rs:43
Methodlabel
(&self)
src/unix/bsd/netbsd/component.rs:43
Methodlabel
(&self)
src/unix/apple/macos/component/arm.rs:165
Methodlabel
(&self)
src/unix/apple/macos/component/x86.rs:160
Methodlabel
(&self)
src/unix/apple/app_store/component.rs:22
Methodlabel
(&self)
src/unix/linux/component.rs:363
Methodlabel
(&self)
src/windows/component.rs:64
Methodlabel
(&self)
src/unknown/component.rs:22
Methodlabel
Returns the label of the component. ## Linux Since components information is retrieved thanks to `hwmon`, the labels are generated as follows. Note:
src/common/component.rs:234
Methodlist
(&self)
src/unix/bsd/freebsd/disk.rs:130
Methodlist
(&self)
src/unix/bsd/freebsd/component.rs:83
Methodlist
(&self)
src/unix/bsd/freebsd/network.rs:30
Methodlist
(&self)
src/unix/bsd/netbsd/disk.rs:129
← previousnext →1,001–1,100 of 1,805, ranked by callers