pub enum SchedulerMsg {
    Event(UserEvent),
    Immediate(ScopeId),
    NewTask(ScopeId),
}
Expand description

The type of message that can be sent to the scheduler.

These messages control how the scheduler will process updates to the UI.

Variants

Event(UserEvent)

Events from the Renderer

Immediate(ScopeId)

Immediate updates from Components that mark them as dirty

NewTask(ScopeId)

New tasks from components that should be polled when the next poll is ready

Trait Implementations

Formats the value using the given formatter. Read more

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.