pub type Event = Event;

Aliased Type§

enum Event {
    Scheduled {
        when: u32,
        index: u32,
    },
    Canceled {
        when: u32,
        index: u32,
    },
    Dispatched {
        task: (u32, u32),
        id: Option<[u8; 32]>,
        result: Result<(), DispatchError>,
    },
    RetrySet {
        task: (u32, u32),
        id: Option<[u8; 32]>,
        period: u32,
        retries: u8,
    },
    RetryCancelled {
        task: (u32, u32),
        id: Option<[u8; 32]>,
    },
    CallUnavailable {
        task: (u32, u32),
        id: Option<[u8; 32]>,
    },
    PeriodicFailed {
        task: (u32, u32),
        id: Option<[u8; 32]>,
    },
    RetryFailed {
        task: (u32, u32),
        id: Option<[u8; 32]>,
    },
    PermanentlyOverweight {
        task: (u32, u32),
        id: Option<[u8; 32]>,
    },
}

Variants§

§

Scheduled

Fields

§when: u32
§index: u32
§

Canceled

Fields

§when: u32
§index: u32
§

Dispatched

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§

RetrySet

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§period: u32
§retries: u8
§

RetryCancelled

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§

CallUnavailable

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§

PeriodicFailed

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§

RetryFailed

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>
§

PermanentlyOverweight

Fields

§task: (u32, u32)
§id: Option<[u8; 32]>