Enum tokio_udev::EventType[]

pub enum EventType {
    Add,
    Change,
    Remove,
    Unknown,
}

Types of events that can be received from udev.

Variants

A device was added.

A device changed.

A device was removed.

An unknown event occurred.

Trait Implementations

impl Display for EventType

Formats the value using the given formatter. Read more

impl Clone for EventType

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for EventType

Returns the "default value" for a type. Read more

impl Debug for EventType

Formats the value using the given formatter. Read more

impl Copy for EventType

impl Eq for EventType

impl PartialEq<EventType> for EventType

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for EventType

impl Sync for EventType