Skip to main content

Schedulable

Trait Schedulable 

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§

type Metadata

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

type GroupMetadata

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

Required Methods§

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

Initializes a configuration from this node.

Implementors§