pub enum EventType {
Add,
Change,
Remove,
Bind,
Unbind,
Unknown,
}
Expand description
Types of events that can be received from udev.
Variants§
Add
A device was added.
Change
A device changed.
Remove
A device was removed.
Bind
A device was bound to a driver.
Unbind
A device was unbound from a driver.
Unknown
An unknown event occurred.
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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