Struct mio_udev::Attribute [−][src]
pub struct Attribute<'a> { /* fields omitted */ }
A device attribute.
Methods
impl<'a> Attribute<'a>
[src]
impl<'a> Attribute<'a>
pub fn name(&self) -> &OsStr
[src]
pub fn name(&self) -> &OsStr
Returns the attribute name.
pub fn value(&self) -> Option<&OsStr>
[src]
pub fn value(&self) -> Option<&OsStr>
Returns the attribute value.