MCPcopy Create free account
hub / github.com/emberian/evdev / physical_path

Method physical_path

src/sync_stream.rs:89–91  ·  view source on GitHub ↗

Returns the device's physical location, either as set by the caller or as read from the kernel.

(&self)

Source from the content-addressed store, hash-verified

87
88 /// Returns the device's physical location, either as set by the caller or as read from the kernel.
89 pub fn physical_path(&self) -> Option<&str> {
90 self.raw.physical_path()
91 }
92
93 /// Returns the user-defined "unique name" of the device, if one has been set.
94 pub fn unique_name(&self) -> Option<&str> {

Callers 1

fmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected