pub struct Enumerator { /* private fields */ }Implementations§
Source§impl Enumerator
impl Enumerator
pub fn new() -> Result<Enumerator>
pub fn match_subsystem(&mut self, subsystem: &str) -> Result<()>
pub fn scan_devices(&self) -> Result<Box<dyn Iterator<Item = Device>>>
Auto Trait Implementations§
impl Freeze for Enumerator
impl RefUnwindSafe for Enumerator
impl Send for Enumerator
impl Sync for Enumerator
impl Unpin for Enumerator
impl UnwindSafe for Enumerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more