udev_device_get_seqnum

Function udev_device_get_seqnum 

Source
pub const fn udev_device_get_seqnum(dev: &UdevDevice) -> u64
Expand description

Gets the device event sequence number.

From the libudev documentation:

This is only valid if the device was received through a monitor. Devices read from
sys do not have a sequence number.

Returns the kernel event sequence number, or zero if none is available.