pub type Call = Call;

Aliased Type§

enum Call {
    schedule {
        when: u32,
        maybe_periodic: Option<(u32, u32)>,
        priority: u8,
        call: Box<RuntimeCall>,
    },
    cancel {
        when: u32,
        index: u32,
    },
    schedule_named {
        id: [u8; 32],
        when: u32,
        maybe_periodic: Option<(u32, u32)>,
        priority: u8,
        call: Box<RuntimeCall>,
    },
    cancel_named {
        id: [u8; 32],
    },
    schedule_after {
        after: u32,
        maybe_periodic: Option<(u32, u32)>,
        priority: u8,
        call: Box<RuntimeCall>,
    },
    schedule_named_after {
        id: [u8; 32],
        after: u32,
        maybe_periodic: Option<(u32, u32)>,
        priority: u8,
        call: Box<RuntimeCall>,
    },
    set_retry {
        task: (u32, u32),
        retries: u8,
        period: u32,
    },
    set_retry_named {
        id: [u8; 32],
        retries: u8,
        period: u32,
    },
    cancel_retry {
        task: (u32, u32),
    },
    cancel_retry_named {
        id: [u8; 32],
    },
}

Variants§

§

schedule

Fields

§when: u32
§maybe_periodic: Option<(u32, u32)>
§priority: u8
§

cancel

Fields

§when: u32
§index: u32
§

schedule_named

Fields

§id: [u8; 32]
§when: u32
§maybe_periodic: Option<(u32, u32)>
§priority: u8
§

cancel_named

Fields

§id: [u8; 32]
§

schedule_after

Fields

§after: u32
§maybe_periodic: Option<(u32, u32)>
§priority: u8
§

schedule_named_after

Fields

§id: [u8; 32]
§after: u32
§maybe_periodic: Option<(u32, u32)>
§priority: u8
§

set_retry

Fields

§task: (u32, u32)
§retries: u8
§period: u32
§

set_retry_named

Fields

§id: [u8; 32]
§retries: u8
§period: u32
§

cancel_retry

Fields

§task: (u32, u32)
§

cancel_retry_named

Fields

§id: [u8; 32]