pub enum TimerTrigger {
    Cancel,
    Periodic(u64),
    Relative(u64),
}
Expand description

Timer events manipulation

Variants

Cancel

Cancel event’s timer

Periodic(u64)

The event is to be signaled periodically. Parameter is the period in 100ns units. Delay of 0 will be signalled on every timer tick.

Relative(u64)

The event is to be signaled once in 100ns units. Parameter is the delay in 100ns units. Delay of 0 will be signalled on next timer tick.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.