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