Struct lrs::thread::Scheduler

A process scheduler.

Syntax

struct Scheduler(i32)

Fields

PositionDescription
1

The integer constant associated with the scheduler.

Methods

ReceiverNameDescription
selfmax_priority

Returns the maximum priority of this scheduler.

selfmin_priority

Returns the minimum priority of this scheduler.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.

Remarks

See {sched} for pre-defined schedulers.

See also