Trait Schedulable

Source
pub trait Schedulable {
    type Metadata;
    type GroupMetadata;

    // Required method
    fn into_config(self) -> ScheduleConfig<Self>
       where Self: Sized;
}
Expand description

Stores data to differentiate different schedulable structs.

Required Associated Types§

Source

type Metadata

Additional data used to configure independent scheduling. Stored in ScheduleConfig.

Source

type GroupMetadata

Additional data used to configure a schedulable group. Stored in ScheduleConfigs.

Required Methods§

Source

fn into_config(self) -> ScheduleConfig<Self>
where Self: Sized,

Initializes a configuration from this node.

Implementors§