pub fn match_subsystem<T: AsRef<OsStr>>(&mut self, subsystem: T) -> ::Result<()> {
        let subsystem = try!(::util::os_str_to_cstring(subsystem));

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