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