/// Adds a filter that matches events for devices with the given subsystem and device type.
Adds a filter that matches events for devices with the given subsystem and device type.
Adds a filter that matches events for devices with the given subsystem and device type .
pub fn match_subsystem_devtype<T: AsRef<OsStr>, U: AsRef<OsStr>>(&mut self, subsystem: T, devtype: U) -> ::Result<()> {
        let subsystem = try!(::util::os_str_to_cstring(subsystem));
        let devtype = try!(::util::os_str_to_cstring(devtype));
        ::util::errno_to_result(unsafe {
            ::ffi::udev_monitor_filter_add_match_subsystem_devtype(self.monitor, subsystem.as_ptr(), devtype.as_ptr())
        })
    }
pub fn match_subsystem_devtype < T : AsRef < OsStr > , U : AsRef < OsStr > > ( & mut self , subsystem : T , devtype : U ) -> :: Result < ( ) > { let subsystem = try ! ( util os_str_to_cstring ( subsystem ) ) ; let devtype = try ! ( util os_str_to_cstring ( devtype ) ) ; :: util :: errno_to_result ( unsafe { :: ffi :: udev_monitor_filter_add_match_subsystem_devtype ( self . monitor , subsystem . as_ptr ( ) , devtype . as_ptr ( ) ) } ) }
Adds a filter that matches events for devices with the given subsystem and device type.
Adds a filter that matches events for devices with the given subsystem and device type .
&mut self
subsystem
T
devtype
U