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§
Sourcetype Metadata
type Metadata
Additional data used to configure independent scheduling. Stored in ScheduleConfig.
Sourcetype GroupMetadata
type GroupMetadata
Additional data used to configure a schedulable group. Stored in ScheduleConfigs.
Required Methods§
Sourcefn into_config(self) -> ScheduleConfig<Self>where
Self: Sized,
fn into_config(self) -> ScheduleConfig<Self>where
Self: Sized,
Initializes a configuration from this node.